diff --git a/tests/operations/MoveTest.php b/tests/operations/MoveTest.php index 4e620e7..15b84d8 100644 --- a/tests/operations/MoveTest.php +++ b/tests/operations/MoveTest.php @@ -55,9 +55,8 @@ public function testGetOperation(): void public function testValidateWithValidPatchObject(): void { - $move = new Move(); $patch = (object) ['op' => 'move', 'path' => '/path/to/resource', 'from' => '/path/from/resource']; - $move->validate($patch); + $this->Operation->validate($patch); $this->assertTrue(true); }