Browse Source

Slightly clearer test scenario descriptions

Andy Dawson 8 years ago
parent
commit
74fd692b24
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/View/Helper/PaginatorHelperTest.php

+ 2 - 2
tests/TestCase/View/Helper/PaginatorHelperTest.php

@@ -840,12 +840,12 @@ class PaginatorHelperTest extends TestCase
     public function urlGenerationResetsToPage1Provider()
     {
         return [
-            'Sorting the field currently sorted asc' => [
+            'Sorting the field currently sorted asc, asc' => [
                 'name',
                 ['sort' => 'name', 'direction' => 'asc'],
                 '<a class="asc" href="/index?sort=name&amp;direction=asc">Name</a>'
             ],
-            'Sorting the field currently sorted desc' => [
+            'Sorting the field currently sorted asc, desc' => [
                 'name',
                 ['sort' => 'name', 'direction' => 'desc'],
                 '<a class="asc" href="/index?sort=name&amp;direction=desc">Name</a>'