Commit cadbbd81 by Alexander Makarov

Reduced gap between setting and checking mtime

parent b44a9007
...@@ -75,13 +75,13 @@ class PhpManagerTest extends ManagerTestCase ...@@ -75,13 +75,13 @@ class PhpManagerTest extends ManagerTestCase
public function testSaveLoad() public function testSaveLoad()
{ {
static::$filemtime = time();
$this->prepareData(); $this->prepareData();
$items = $this->auth->items; $items = $this->auth->items;
$children = $this->auth->children; $children = $this->auth->children;
$assignments = $this->auth->assignments; $assignments = $this->auth->assignments;
$rules = $this->auth->rules; $rules = $this->auth->rules;
static::$filemtime = time();
$this->auth->save(); $this->auth->save();
$this->auth = $this->createManager(); $this->auth = $this->createManager();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment