Completed
Push — master ( cd4146...2a1cad )
by Simon
02:17
created
tests/ShortlistTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         Session::start();
47 47
         $sessionID = session_id();
48 48
 
49
-        $response = $this->get('shortlist/add?id=' . $testpage->ID . '&type=Page&s=' . $sessionID);
49
+        $response = $this->get('shortlist/add?id='.$testpage->ID.'&type=Page&s='.$sessionID);
50 50
 
51 51
         $shortlist = DataObject::get_one('ShortList', array('SessionID' => $sessionID));
52 52
 
@@ -60,11 +60,11 @@  discard block
 block discarded – undo
60 60
         Session::start();
61 61
         $sessionID = session_id();
62 62
 
63
-        $this->get('shortlist/add?id=' . $testpage->ID . '&type=Page&s=' . $sessionID . '&output=0');
63
+        $this->get('shortlist/add?id='.$testpage->ID.'&type=Page&s='.$sessionID.'&output=0');
64 64
 
65 65
         $shortlist = DataObject::get_one('ShortList', array('SessionID' => $sessionID));
66 66
 
67
-        $this->get('shortlist/remove?id=' . $testpage->ID . '&type=Page&s=' . $sessionID . '&output=0');
67
+        $this->get('shortlist/remove?id='.$testpage->ID.'&type=Page&s='.$sessionID.'&output=0');
68 68
 
69 69
         $this->assertEquals($shortlist->ShortListItems()->Count(), 0);
70 70
     }
Please login to merge, or discard this patch.