Completed
Push — master ( 46045d...6d16be )
by Adam
02:18
created
tests/PaginationTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 use Pager\Pagination;
5 5
 use PHPUnit\Framework\TestCase;
6 6
 
7
-class PaginationTest extends TestCase{
7
+class PaginationTest extends TestCase {
8 8
     
9 9
     protected $pagination;
10 10
     
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
         $this->pagination = new Pagination();
13 13
     }
14 14
     
15
-    public function tearDown(){
15
+    public function tearDown() {
16 16
         unset($this->pagination);
17 17
     }
18 18
     
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      * @covers Pager\Pagination::buildLink
22 22
      * @covers Pager\Pagination::getPage
23 23
      */
24
-    public function testCreatePager(){
24
+    public function testCreatePager() {
25 25
         $this->pagination->paging(72, '/test-page');
26 26
     }
27 27
     
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      * @covers Pager\Pagination::buildLink
31 31
      * @covers Pager\Pagination::getPage
32 32
      */
33
-    public function testNoPagerNeeded(){
33
+    public function testNoPagerNeeded() {
34 34
         $this->assertFalse($this->pagination->paging(10, '/test-page'));
35 35
     }
36 36
     
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      * @covers Pager\Pagination::preLinks
44 44
      * @covers Pager\Pagination::postLinks
45 45
      */
46
-    public function testPagerWithArrows(){
46
+    public function testPagerWithArrows() {
47 47
         $this->markTestIncomplete('Test not yet implemented');
48 48
     }
49 49
     
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      * @covers Pager\Pagination::preLinks
55 55
      * @covers Pager\Pagination::postLinks
56 56
      */
57
-    public function testPagerWithQueryString(){
57
+    public function testPagerWithQueryString() {
58 58
         $this->markTestIncomplete('Test not yet implemented');
59 59
     }
60 60
     
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      * @covers Pager\Pagination::setPaginationClass
63 63
      * @covers Pager\Pagination::getPaginationClass
64 64
      */
65
-    public function testSetPagerClass(){
65
+    public function testSetPagerClass() {
66 66
         $this->assertEquals('pagination', $this->pagination->getPaginationClass());
67 67
         $this->pagination->setPaginationClass('my-class');
68 68
         $this->assertNotEquals('pagination', $this->pagination->getPaginationClass());
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * @covers Pager\Pagination::setActiveClass
76 76
      * @covers Pager\Pagination::getActiveClass
77 77
      */
78
-    public function testSetActiveClass(){
78
+    public function testSetActiveClass() {
79 79
         $this->assertEquals('active', $this->pagination->getActiveClass());
80 80
         $this->pagination->setActiveClass('current');
81 81
         $this->assertNotEquals('active', $this->pagination->getActiveClass());
Please login to merge, or discard this patch.