Completed
Pull Request — 1.0 (#14)
by Nic
04:01
created
tests/ViewableDataObjectTest.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,14 +46,14 @@
 block discarded – undo
46 46
     {
47 47
         $object = $this->getObject();
48 48
         $page = $this->objFromFixture('Page', 'default');
49
-        $this->assertEquals($page->Link() . 'view/' . $object->URLSegment, $object->Link());
49
+        $this->assertEquals($page->Link().'view/'.$object->URLSegment, $object->Link());
50 50
     }
51 51
 
52 52
     public function testGetAbsoluteLink()
53 53
     {
54 54
         $object = $this->getObject();
55 55
         $page = $this->objFromFixture('Page', 'default');
56
-        $this->assertEquals($page->AbsoluteLink() . 'view/' . $object->URLSegment, $object->getAbsoluteLink());
56
+        $this->assertEquals($page->AbsoluteLink().'view/'.$object->URLSegment, $object->getAbsoluteLink());
57 57
     }
58 58
 
59 59
     public function testValidURLSegment()
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Dynamic\ViewableDataObject\VDOInterfaces\ViewableDataObjectInterface;
4
-
5 3
 class ViewableDataObjectTest extends SapphireTest
6 4
 {
7 5
     /**
Please login to merge, or discard this patch.