1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fix more warnings

This commit is contained in:
Jordi Boggiano 2020-09-11 11:27:26 +02:00
parent 711d4792ce
commit d942c65e0c
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
10 changed files with 22 additions and 18 deletions

View file

@ -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");
}