Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Dec 24, 2024
1 parent bea3c2d commit cd535c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Paginator/OffsetPaginatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public function testReadCurrentPageCannotBeLargerThanMaxPages(): void

$this->assertSame(3, $paginator->getTotalPages());
$this->expectException(PageNotFoundException::class);
$this->expectExceptionMessage('Page not found.');
$this->expectExceptionMessage('Page 4 not found.');

$this->iterableToArray($paginator->read());
}
Expand Down Expand Up @@ -410,7 +410,7 @@ public function testIsLastPageBeyondMaxPages(): void

$this->assertSame(3, $paginator->getTotalPages());
$this->expectException(PageNotFoundException::class);
$this->expectExceptionMessage('Page not found.');
$this->expectExceptionMessage('Page 4 not found.');

$paginator->isOnLastPage();
}
Expand Down

0 comments on commit cd535c1

Please sign in to comment.