Lines Matching refs:response

24         $this->assertEquals('', $this->response->body);
25 $this->assertEquals(201, $this->response->status);
26 $this->assertEquals('0', $this->response->getHeader('Content-Length'));
40 $this->assertEquals('', $this->response->body);
41 $this->assertEquals(201, $this->response->status);
44 ),$this->response->getHeaders());
58 $this->assertEquals('', $this->response->body);
59 $this->assertEquals(201, $this->response->status);
62 ),$this->response->getHeaders());
69 $this->assertEquals(412, $this->response->status);
73 ),$this->response->getHeaders());
84 $this->assertEquals('', $this->response->body);
85 $this->assertEquals(201, $this->response->status);
88 ),$this->response->getHeaders());
95 $this->assertEquals(200, $this->response->status);
100 ),$this->response->getHeaders());
102 $this->assertEquals('Testing new file',stream_get_contents($this->response->body));
127 $this->assertEquals(201, $this->response->status);
128 … $this->assertEquals('application/xml; charset=utf-8',$this->response->getHeader('Content-Type'));
129 …elocktoken:(.*)>$/',$this->response->getHeader('Lock-Token'))===1,'We did not get a valid Locktoke…
130 $this->assertEquals('true',$this->response->getHeader('X-Sabre-Temp'));
144 $this->assertEquals('', $this->response->body);
145 $this->assertEquals(201, $this->response->status);
148 ),$this->response->getHeaders());
154 …$this->assertEquals(204, $this->response->status, "Incorrect status code received. Full body:\n". …
157 ),$this->response->getHeaders());
159 $this->assertEquals('',$this->response->body);
170 $this->assertEquals('', $this->response->body);
171 $this->assertEquals(201, $this->response->status);
174 ),$this->response->getHeaders());
181 …$this->assertEquals(207, $this->response->status,'Incorrect status code returned. Body: ' . $this-…
185 ),$this->response->getHeaders());
187 …replace("/xmlns(:[A-Za-z0-9_])?=(\"|\')DAV:(\"|\')/","xmlns\\1=\"urn:DAV\"",$this->response->body);