We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 694bd93 commit d854aaeCopy full SHA for d854aae
tests/Unit/Traits/Configuration/PaginationConfigurationTest.php
@@ -120,5 +120,11 @@ public function test_can_set_default_per_page(): void
120
$this->assertSame(50, $this->basicTable->getPerPage());
121
$this->basicTable->perPage = 25;
122
$this->assertSame(25, $this->basicTable->getPerPage());
123
+ $this->basicTable->setPerPage(10);
124
+ $this->assertSame(10, $this->basicTable->getPerPage());
125
+ $this->assertSame(50, $this->basicTable->getDefaultPerPage());
126
+ $this->basicTable->unsetPerPage();
127
+ $this->assertSame(50, $this->basicTable->getPerPage());
128
+
129
}
130
0 commit comments