Browse Source

Enabled tests for FileMutex on Windows, see #12824 (#12831)

tags/2.0.11
Edgard Lorraine Messias 8 years ago committed by Alexander Makarov
parent
commit
60208bb96c
  1. 8
      tests/framework/mutex/FileMutexTest.php

8
tests/framework/mutex/FileMutexTest.php

@ -16,13 +16,6 @@ class FileMutexTest extends TestCase
{
use MutexTestTrait;
protected function setUp() {
parent::setUp();
if (DIRECTORY_SEPARATOR === '\\') {
$this->markTestSkipped('FileMutex does not have MS Windows operating system support.');
}
}
/**
* @return FileMutex
* @throws \yii\base\InvalidConfigException
@ -31,6 +24,7 @@ class FileMutexTest extends TestCase
{
return \Yii::createObject([
'class' => FileMutex::className(),
'mutexPath' => '@yiiunit/runtime/mutex',
]);
}

Loading…
Cancel
Save