From: Thomas Müller Date: Mon, 27 Oct 2014 19:48:47 +0000 (+0100) Subject: On Windows platform we have no stable etag generation - yet X-Git-Tag: v8.0.0alpha1~432^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d0ce600eecb96361e1a8ebab853dc4dbadf7c1e2;p=nextcloud-server.git On Windows platform we have no stable etag generation - yet --- diff --git a/tests/lib/files/storage/local.php b/tests/lib/files/storage/local.php index 8fd9f0648ad..37462941d0c 100644 --- a/tests/lib/files/storage/local.php +++ b/tests/lib/files/storage/local.php @@ -38,6 +38,10 @@ class Local extends Storage { } public function testStableEtag() { + if (\OC_Util::runningOnWindows()) { + $this->markTestSkipped('On Windows platform we have no stable etag generation - yet'); + } + $this->instance->file_put_contents('test.txt', 'foobar'); $etag1 = $this->instance->getETag('test.txt'); $etag2 = $this->instance->getETag('test.txt'); @@ -45,6 +49,10 @@ class Local extends Storage { } public function testEtagChange() { + if (\OC_Util::runningOnWindows()) { + $this->markTestSkipped('On Windows platform we have no stable etag generation - yet'); + } + $this->instance->file_put_contents('test.txt', 'foo'); $this->instance->touch('test.txt', time() - 2); $etag1 = $this->instance->getETag('test.txt');