File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- <?php namespace GeneaLabs \LaravelModelCaching \Tests \Browser ;
1
+ <?php namespace GeneaLabs \LaravelModelCaching \Tests \Feature ;
2
2
3
3
use GeneaLabs \LaravelModelCaching \Tests \FeatureTestCase ;
4
4
use GeneaLabs \LaravelModelCaching \Tests \Fixtures \Book ;
@@ -9,10 +9,10 @@ public function testPaginationProvidesDifferentLinksOnDifferentPages()
9
9
{
10
10
$ page1ActiveLink = starts_with (app ()->version (), "5.5 " )
11
11
? '<li class="active"><span>1</span></li> '
12
- : '<li class="page-item active"><span class="page-link">1</span></li> ' ;
12
+ : '<li class="page-item active" aria-current="page" ><span class="page-link">1</span></li> ' ;
13
13
$ page2ActiveLink = starts_with (app ()->version (), "5.5 " )
14
14
? '<li class="active"><span>2</span></li> '
15
- : '<li class="page-item active"><span class="page-link">2</span></li> ' ;
15
+ : '<li class="page-item active" aria-current="page" ><span class="page-link">2</span></li> ' ;
16
16
17
17
$ book = (new Book )
18
18
->take (11 )
Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ public function testPaginationReturnsCorrectLinks()
48
48
{
49
49
$ page1ActiveLink = starts_with (app ()->version (), "5.5 " )
50
50
? '<li class="active"><span>1</span></li> '
51
- : '<li class="page-item active"><span class="page-link">1</span></li> ' ;
51
+ : '<li class="page-item active" aria-current="page" ><span class="page-link">1</span></li> ' ;
52
52
$ page2ActiveLink = starts_with (app ()->version (), "5.5 " )
53
53
? '<li class="active"><span>2</span></li> '
54
- : '<li class="page-item active"><span class="page-link">2</span></li> ' ;
54
+ : '<li class="page-item active" aria-current="page" ><span class="page-link">2</span></li> ' ;
55
55
$ page24ActiveLink = starts_with (app ()->version (), "5.5 " )
56
56
? '<li class="active"><span>24</span></li> '
57
- : '<li class="page-item active"><span class="page-link">24</span></li> ' ;
57
+ : '<li class="page-item active" aria-current="page" ><span class="page-link">24</span></li> ' ;
58
58
59
59
$ booksPage1 = (new Book )
60
60
->paginate (2 );
You can’t perform that action at this time.
0 commit comments