We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4f9dd8 commit c69c9b5Copy full SHA for c69c9b5
1 file changed
test/Unit/App/PaginationTest.php
@@ -13,13 +13,14 @@ class PaginationTest extends TestCase
13
public function testWillNotInitializeWithoutLimit(): void
14
{
15
$this->expectException(DivisionByZeroError::class);
16
- new Pagination(10, 0, 0);
+ $pagination = new Pagination(10, 0, 0);
17
+ $this->assertEmpty($pagination);
18
}
19
20
public function testWillInitializeWithZeroTotal(): void
21
- $this->expectNotToPerformAssertions();
22
- new Pagination(0, 0, 10);
+ $pagination = new Pagination(0, 0, 10);
23
+ $this->assertInstanceOf(Pagination::class, $pagination);
24
25
26
public function testWillInitializeWithLimitOnly(): void
0 commit comments