@@ -46,7 +46,7 @@ discard block |
||
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 | |
@@ -57,11 +57,11 @@ discard block |
||
57 | 57 | $shortlist = $this->objFromFixture('ShortList', 'test'); |
58 | 58 | $testpage = $this->objFromFixture('Page', 'page1'); |
59 | 59 | |
60 | - $this->get('shortlist/add?id=' . $testpage->ID . '&type=Page&s=' . session_id() . '&output=0'); |
|
60 | + $this->get('shortlist/add?id='.$testpage->ID.'&type=Page&s='.session_id().'&output=0'); |
|
61 | 61 | |
62 | 62 | $shortlist = DataObject::get_one('ShortList', array('SessionID' => session_id())); |
63 | 63 | |
64 | - $this->get('shortlist/remove?id=' . $testpage->ID . '&type=Page&s=' . session_id() . '&output=0'); |
|
64 | + $this->get('shortlist/remove?id='.$testpage->ID.'&type=Page&s='.session_id().'&output=0'); |
|
65 | 65 | |
66 | 66 | $this->assertEquals($shortlist->ShortListItems()->Count(), 0); |
67 | 67 | } |