Skip to content

Commit

Permalink
Apply fixes from StyleCI (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: Harish Kumar <[email protected]>
  • Loading branch information
hkp22 and hkp22 authored Sep 9, 2020
1 parent 5b4a9ee commit e1342b3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/InvalidReactionUserExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ public function it_can_throw_exception_if_not_authenticated_on_where_liked_by()

Article::whereReactedBy();
}
}
}
2 changes: 1 addition & 1 deletion tests/Unit/ReactableReactionEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ public function it_can_fire_reaction_was_deleted_event()

$this->article->removeReaction($this->user);
}
}
}
2 changes: 1 addition & 1 deletion tests/Unit/ReactableScopeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ public function it_can_get_where_reacted_by_concrete_user()
$this->assertCount(3, $reactedArticles);
$this->assertEmpty($shouldBeEmpty);
}
}
}
2 changes: 1 addition & 1 deletion tests/Unit/ReactableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,4 +372,4 @@ public function it_can_has_reacted_reactions_by_given_user()
$this->assertInstanceOf(Reaction::class, $article->reacted($user));
$this->assertEquals('like', $article->reacted($user)->type);
}
}
}
2 changes: 1 addition & 1 deletion tests/Unit/ReactionModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ public function it_can_belong_to_user_model()
$this->assertInstanceOf($userModel, $article->reactions()->first()->reactBy);
$this->assertInstanceOf(ReactsInterface::class, $article->reactions()->first()->reactBy);
}
}
}
2 changes: 1 addition & 1 deletion tests/Unit/ReactsModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,4 @@ public function it_can_have_reacted_reaction_on_reactable_model()
$this->assertInstanceOf(Reaction::class, $user->reactedOn($article));
$this->assertEquals('like', $user->reactedOn($article)->type);
}
}
}
2 changes: 1 addition & 1 deletion tests/Unit/ReactsReactionEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ public function it_can_fire_reaction_was_deleted_event()

$this->user->removeReactionFrom($this->article);
}
}
}

0 comments on commit e1342b3

Please sign in to comment.