File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 99 convertWarningsToExceptions =" true"
1010 printerClass =" Codedungeon\PHPUnitPrettyResultPrinter\Printer"
1111 processIsolation =" false"
12- stopOnFailure =" true "
12+ stopOnFailure =" false "
1313 syntaxCheck =" false"
1414>
1515<testsuites >
Original file line number Diff line number Diff line change @@ -7,12 +7,20 @@ class PaginationTest extends FeatureTestCase
77{
88 public function testPaginationProvidesDifferentLinksOnDifferentPages ()
99 {
10- $ page1ActiveLink = starts_with (app ()->version (), "5.5 " )
11- ? '<li class="active"><span>1</span></li> '
12- : '<li class="page-item active" aria-current="page"><span class="page-link">1</span></li> ' ;
13- $ page2ActiveLink = starts_with (app ()->version (), "5.5 " )
14- ? '<li class="active"><span>2</span></li> '
15- : '<li class="page-item active" aria-current="page"><span class="page-link">2</span></li> ' ;
10+ if (starts_with (app ()->version (), "5.6 " )) {
11+ $ page1ActiveLink = '<li class="page-item active" aria-current="page"><span class="page-link">1</span></li> ' ;
12+ $ page2ActiveLink = '<li class="page-item active" aria-current="page"><span class="page-link">2</span></li> ' ;
13+ }
14+
15+ if (starts_with (app ()->version (), "5.5 " )) {
16+ $ page1ActiveLink = '<li class="active"><span>1</span></li> ' ;
17+ $ page2ActiveLink = '<li class="active"><span>2</span></li> ' ;
18+ }
19+
20+ if (starts_with (app ()->version (), "5.4 " )) {
21+ $ page1ActiveLink = '<li class="active"><span>1</span></li> ' ;
22+ $ page2ActiveLink = '<li class="active"><span>2</span></li> ' ;
23+ }
1624
1725 $ book = (new Book )
1826 ->take (11 )
Original file line number Diff line number Diff line change 2020 */
2121class CachedBuilderTest extends IntegrationTestCase
2222{
23-
23+
2424
2525 public function testCacheIsEmptyBeforeLoadingModels ()
2626 {
@@ -673,7 +673,6 @@ public function testWhereDatesResults()
673673 $ this ->assertTrue ($ liveResults ->diffKeys ($ books )->isEmpty ());
674674 }
675675
676- /** @group test */
677676 public function testHashCollision ()
678677 {
679678 $ key1 = sha1 ('genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook-id_not_in_1_2 ' );
You can’t perform that action at this time.
0 commit comments