From 6f2caa64a859e8f8737b3abc61555698c138c6a0 Mon Sep 17 00:00:00 2001 From: chkalm <82824961+chkalm@users.noreply.github.com> Date: Tue, 22 Feb 2022 08:01:00 +0100 Subject: [PATCH] Fix wrong cast type in unitest --- tests/Cache/SimpleRepositoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Cache/SimpleRepositoryTest.php b/tests/Cache/SimpleRepositoryTest.php index e36ef2a..bfd43df 100644 --- a/tests/Cache/SimpleRepositoryTest.php +++ b/tests/Cache/SimpleRepositoryTest.php @@ -26,7 +26,7 @@ public function test_has_with_no_entry() */ public function test_has_returns_true_if_entry() { - $this->repo->put('en', 'namespace', 'group', 'key', 'value'); + $this->repo->put('en', 'namespace', 'group', 'key', 1); $this->assertTrue($this->repo->has('en', 'namespace', 'group')); }