@@ -43,9 +43,9 @@ |
||
43 | 43 | $class = get_called_class(); |
44 | 44 | $instance = new $class; |
45 | 45 | |
46 | - if (!$instance->isCachable()) { |
|
47 | - return parent::all($columns); |
|
48 | - } |
|
46 | + if (!$instance->isCachable()) { |
|
47 | + return parent::all($columns); |
|
48 | + } |
|
49 | 49 | |
50 | 50 | $tags = $instance->makeCacheTags(); |
51 | 51 | $key = $instance->makeCacheKey(); |
@@ -88,15 +88,15 @@ |
||
88 | 88 | } |
89 | 89 | |
90 | 90 | public function testPaginationUrlIsCorrect() { |
91 | - $this->baseUrl = 'https://test.local'; |
|
91 | + $this->baseUrl = 'https://test.local'; |
|
92 | 92 | |
93 | - $this->visit("pagination-test2?custom-page=2") |
|
94 | - ->see('https://test.local/pagination-test2?custom-page=1'); |
|
93 | + $this->visit("pagination-test2?custom-page=2") |
|
94 | + ->see('https://test.local/pagination-test2?custom-page=1'); |
|
95 | 95 | |
96 | - $this->baseUrl = 'https://changed.local'; |
|
96 | + $this->baseUrl = 'https://changed.local'; |
|
97 | 97 | |
98 | - $this->visit("pagination-test2?custom-page=2") |
|
99 | - ->see('https://changed.local/pagination-test2?custom-page=1'); |
|
98 | + $this->visit("pagination-test2?custom-page=2") |
|
99 | + ->see('https://changed.local/pagination-test2?custom-page=1'); |
|
100 | 100 | |
101 | 101 | } |
102 | 102 | } |
@@ -367,6 +367,6 @@ |
||
367 | 367 | |
368 | 368 | protected function getPathSlug() : string |
369 | 369 | { |
370 | - return ':' . strtolower(URL::to('/')); |
|
370 | + return ':' . strtolower(URL::to('/')); |
|
371 | 371 | } |
372 | 372 | } |