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 ;
22
33use GeneaLabs \LaravelModelCaching \Tests \FeatureTestCase ;
44use GeneaLabs \LaravelModelCaching \Tests \Fixtures \Book ;
@@ -9,10 +9,10 @@ public function testPaginationProvidesDifferentLinksOnDifferentPages()
99 {
1010 $ page1ActiveLink = starts_with (app ()->version (), "5.5 " )
1111 ? '<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> ' ;
1313 $ page2ActiveLink = starts_with (app ()->version (), "5.5 " )
1414 ? '<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> ' ;
1616
1717 $ book = (new Book )
1818 ->take (11 )
Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ public function testPaginationReturnsCorrectLinks()
4848 {
4949 $ page1ActiveLink = starts_with (app ()->version (), "5.5 " )
5050 ? '<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> ' ;
5252 $ page2ActiveLink = starts_with (app ()->version (), "5.5 " )
5353 ? '<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> ' ;
5555 $ page24ActiveLink = starts_with (app ()->version (), "5.5 " )
5656 ? '<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> ' ;
5858
5959 $ booksPage1 = (new Book )
6060 ->paginate (2 );
You can’t perform that action at this time.
0 commit comments