Skip to content

Commit

Permalink
Test store with more correct segment
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Nov 22, 2018
1 parent d8365bb commit 200cf24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/Pager/PagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function testStoreWithSegments()
$_GET['page'] = 3;
$_GET['foo'] = 'bar';

$this->pager->store('default', 3, 25, 100, 2);
$this->pager->store('default', 3, 25, 100, 1);

$this->assertEquals('http://example.com/2?page=3&foo=bar', $this->pager->getPreviousPageURI());
$this->assertEquals('http://example.com/4?page=3&foo=bar', $this->pager->getNextPageURI());
Expand Down

0 comments on commit 200cf24

Please sign in to comment.