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 9
9
convertWarningsToExceptions =" true"
10
10
printerClass =" Codedungeon\PHPUnitPrettyResultPrinter\Printer"
11
11
processIsolation =" false"
12
- stopOnFailure =" true "
12
+ stopOnFailure =" false "
13
13
syntaxCheck =" false"
14
14
>
15
15
<testsuites >
Original file line number Diff line number Diff line change @@ -7,12 +7,20 @@ class PaginationTest extends FeatureTestCase
7
7
{
8
8
public function testPaginationProvidesDifferentLinksOnDifferentPages ()
9
9
{
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
+ }
16
24
17
25
$ book = (new Book )
18
26
->take (11 )
Original file line number Diff line number Diff line change 20
20
*/
21
21
class CachedBuilderTest extends IntegrationTestCase
22
22
{
23
-
23
+
24
24
25
25
public function testCacheIsEmptyBeforeLoadingModels ()
26
26
{
@@ -673,7 +673,6 @@ public function testWhereDatesResults()
673
673
$ this ->assertTrue ($ liveResults ->diffKeys ($ books )->isEmpty ());
674
674
}
675
675
676
- /** @group test */
677
676
public function testHashCollision ()
678
677
{
679
678
$ 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