Update unit tests for PHP 7.1 and Codeception 2.1.11

This commit is contained in:
Kijin Sung 2016-12-15 21:45:57 +09:00
parent fa25b1ba47
commit 3feccd3bcb
3 changed files with 8 additions and 9 deletions

View file

@ -362,7 +362,7 @@ class StorageTest extends \Codeception\TestCase\Test
if (strncasecmp(\PHP_OS, 'Win', 3) !== 0)
{
if (get_current_user() === exec('whoami'))
if (fileowner(__FILE__) == exec('id -u'))
{
$this->assertEquals('0022', $umask);
}