Skip to content

Commit

Permalink
Change a Test
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCadien committed Jun 12, 2023
1 parent 4a88c95 commit afaa3ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tests/Unit/Repository/NewsRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ public function testGetPublishedNewsWithResult(): void

$result = $this->newsRepository->getPublishedNews();

static::assertSame($newsTestData->getTitle(), $result[0]->getTitle());
static::assertSame($secondNewsTestData->getTitle(), $result[1]->getTitle());
self::assertCount(2, $result);
}

public function testGetPublishedNewsWithEmptyDatabase(): void
Expand Down

0 comments on commit afaa3ab

Please sign in to comment.