mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix more warnings
This commit is contained in:
parent
711d4792ce
commit
d942c65e0c
10 changed files with 22 additions and 18 deletions
|
@ -72,7 +72,7 @@ class CacheTest extends TestCase
|
|||
$this->cache->gc(600, 1024 * 1024 * 1024);
|
||||
|
||||
for ($i = 1; $i < 4; $i++) {
|
||||
$this->assertFileNotExists("{$this->root}/cached.file{$i}.zip");
|
||||
$this->assertFileDoesNotExist("{$this->root}/cached.file{$i}.zip");
|
||||
}
|
||||
$this->assertFileExists("{$this->root}/cached.file0.zip");
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ class CacheTest extends TestCase
|
|||
$this->cache->gc(600, 1500);
|
||||
|
||||
for ($i = 0; $i < 3; $i++) {
|
||||
$this->assertFileNotExists("{$this->root}/cached.file{$i}.zip");
|
||||
$this->assertFileDoesNotExist("{$this->root}/cached.file{$i}.zip");
|
||||
}
|
||||
$this->assertFileExists("{$this->root}/cached.file3.zip");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue