Adjust FakeLockerPluginTest to new Sabre version
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
5e2c802bb7
commit
80b7ef9b41
|
@ -172,7 +172,7 @@ class FakeLockerPluginTest extends TestCase {
|
||||||
|
|
||||||
$this->assertSame(false, $this->fakeLockerPlugin->fakeLockProvider($request, $response));
|
$this->assertSame(false, $this->fakeLockerPlugin->fakeLockProvider($request, $response));
|
||||||
|
|
||||||
$expectedXml = '<?xml version="1.0" encoding="utf-8"?><d:prop xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"><d:lockdiscovery><d:activelock><d:lockscope><d:exclusive/></d:lockscope><d:locktype><d:write/></d:locktype><d:lockroot><d:href>MyPath</d:href></d:lockroot><d:depth>infinity</d:depth><d:timeout>Second-1800</d:timeout><d:locktoken><d:href>opaquelocktoken:fe4f7f2437b151fbcb4e9f5c8118c6b1</d:href></d:locktoken><d:owner/></d:activelock></d:lockdiscovery></d:prop>';
|
$expectedXml = '<?xml version="1.0" encoding="utf-8"?><d:prop xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"><d:lockdiscovery><d:activelock><d:lockscope><d:exclusive/></d:lockscope><d:locktype><d:write/></d:locktype><d:lockroot><d:href>MyPath</d:href></d:lockroot><d:depth>infinity</d:depth><d:timeout>Second-1800</d:timeout><d:locktoken><d:href>opaquelocktoken:fe4f7f2437b151fbcb4e9f5c8118c6b1</d:href></d:locktoken></d:activelock></d:lockdiscovery></d:prop>';
|
||||||
|
|
||||||
$this->assertXmlStringEqualsXmlString($expectedXml, $response->getBody());
|
$this->assertXmlStringEqualsXmlString($expectedXml, $response->getBody());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue