Update directory and file tests

This commit is contained in:
adlawson 2015-07-24 17:14:55 +01:00
parent a7050a3990
commit 6733fb8c13
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ class DirectoryTest extends UnitTestCase
{
$dir = new Directory();
$this->assertEquals(StatInterface::TYPE_DIR, $dir->getMode() & StatInterface::S_IFMT);
$this->assertEquals(StatInterface::TYPE_DIR, $dir->getMode() & StatInterface::TYPE_MASK);
}
public function testGetSize()

View File

@ -54,7 +54,7 @@ class FileTest extends UnitTestCase
{
$file = new File();
$this->assertEquals(StatInterface::TYPE_FILE, $file->getMode() & StatInterface::S_IFMT);
$this->assertEquals(StatInterface::TYPE_FILE, $file->getMode() & StatInterface::TYPE_MASK);
}
public function testGetSize()