diff --git a/tests/Fixtures/Even.php b/tests/Fixtures/Even.php index 1cca278..8d6f2de 100644 --- a/tests/Fixtures/Even.php +++ b/tests/Fixtures/Even.php @@ -1,6 +1,6 @@ assertFalse(isset($stuffs['three'])); + $this->assertArrayNotHasKey('three', $stuffs); } public function testGetInvalidData() @@ -1351,8 +1353,8 @@ public function testGetInvalidData() ], $invalidData); $stuffs = $invalidData['stuffs']; - $this->assertFalse(isset($stuffs['one'])); - $this->assertFalse(isset($stuffs['two'])); + $this->assertArrayNotHasKey('one', $stuffs); + $this->assertArrayNotHasKey('two', $stuffs); } public function testRuleInInvalidMessages()