Skip to content

Commit

Permalink
Fix unit test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
const-cloudinary committed Sep 6, 2018
1 parent 5eaf56b commit c384577
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Cache/ResponsiveBreakpointsCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function testRBCacheFileSystemStorage()
unset($e);
}
// No `finally` in PHP 5.4
$this->cache->delete("dummy");
$this->cache->delete(self::$publicId);

$this::assertEquals(self::$breakpoints, $res);
}
Expand Down
3 changes: 1 addition & 2 deletions tests/Cache/Storage/FileSystemKeyValueStorageTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php namespace Cloudinary\Test\Cache\Storage;

use Cloudinary\Cache\Storage\FileSystemKeyValueStorage;
use FilesystemIterator;
use PHPUnit\Framework\Assert;
use PHPUnit\Framework\TestCase;
use ReflectionMethod;
Expand Down Expand Up @@ -122,7 +121,7 @@ public function testSet()

Assert::assertEquals($this->value, $this->getTestValue($this->key));

//Should set empty value
// Should set empty value
$this->storage->set($this->key, '');

Assert::assertEquals("", $this->getTestValue($this->key));
Expand Down

0 comments on commit c384577

Please sign in to comment.