Skip to content
Snippets Groups Projects
Commit d0ce600e authored by Thomas Müller's avatar Thomas Müller
Browse files

On Windows platform we have no stable etag generation - yet

parent a00712aa
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,10 @@ class Local extends Storage { ...@@ -38,6 +38,10 @@ class Local extends Storage {
} }
public function testStableEtag() { 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'); $this->instance->file_put_contents('test.txt', 'foobar');
$etag1 = $this->instance->getETag('test.txt'); $etag1 = $this->instance->getETag('test.txt');
$etag2 = $this->instance->getETag('test.txt'); $etag2 = $this->instance->getETag('test.txt');
...@@ -45,6 +49,10 @@ class Local extends Storage { ...@@ -45,6 +49,10 @@ class Local extends Storage {
} }
public function testEtagChange() { 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->file_put_contents('test.txt', 'foo');
$this->instance->touch('test.txt', time() - 2); $this->instance->touch('test.txt', time() - 2);
$etag1 = $this->instance->getETag('test.txt'); $etag1 = $this->instance->getETag('test.txt');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment