X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fseekat;a=blobdiff_plain;f=tests%2FCacheTest.php;fp=tests%2FCacheTest.php;h=ddf7f545c59340c26363ec915fbcfe05208b0a1c;hp=6ceffbdf8707be3928bc962fb320fa8e1bf41967;hb=2121556150be871684b5046af7cf250b8219128d;hpb=cac6bea94e6cde142c951566fa6387ffa54eb3cb diff --git a/tests/CacheTest.php b/tests/CacheTest.php index 6ceffbd..ddf7f54 100644 --- a/tests/CacheTest.php +++ b/tests/CacheTest.php @@ -6,11 +6,11 @@ class CacheTest extends BaseTest use AssertSuccess; /** - * @var seekat\API\Cache\Service + * @var seekat\API\Call\Cache\Service */ private $cache; - function setUp() { + function setUp() : void { $this->cache = new seekat\API\Call\Cache\Service\Hollow; } @@ -26,7 +26,7 @@ class CacheTest extends BaseTest $this->assertEquals("m6w6", $m6w6->login); $this->assertEquals("m6w6", $m6w6_->login); - $this->assertInternalType("array", $data); + $this->assertIsArray($data); $this->assertCount(1, $data); $this->assertEquals($data, $this->cache->getStorage()); }