updated-packages
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
namespace Gitonomy\Git\Tests;
|
||||
|
||||
use Gitonomy\Git\Blob;
|
||||
@@ -16,6 +17,7 @@ use Gitonomy\Git\Blob;
|
||||
class TreeTest extends AbstractTest
|
||||
{
|
||||
const PATH_RESOLVING_COMMIT = 'cc06ac171d884282202dff88c1ded499a1f89420';
|
||||
|
||||
/**
|
||||
* @dataProvider provideFooBar
|
||||
*/
|
||||
@@ -25,10 +27,10 @@ class TreeTest extends AbstractTest
|
||||
|
||||
$entries = $tree->getEntries();
|
||||
|
||||
$this->assertTrue(isset($entries['long.php']), 'long.php is present');
|
||||
$this->assertNotEmpty($entries['long.php'], 'long.php is present');
|
||||
$this->assertTrue($entries['long.php'][1] instanceof Blob, 'long.php is a Blob');
|
||||
|
||||
$this->assertTrue(isset($entries['README.md']), 'README.md is present');
|
||||
$this->assertNotEmpty($entries['README.md'], 'README.md is present');
|
||||
$this->assertTrue($entries['README.md'][1] instanceof Blob, 'README.md is a Blob');
|
||||
}
|
||||
|
||||
@@ -43,6 +45,6 @@ class TreeTest extends AbstractTest
|
||||
$resolved = $tree->resolvePath($path);
|
||||
$entries = $resolved->getEntries();
|
||||
|
||||
$this->assertTrue(isset($entries['d']), 'Successfully resolved source folder');
|
||||
$this->assertNotEmpty($entries['d'], 'Successfully resolved source folder');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user