From 56aa7100d7cdfc76d153bc55d30e8b6cf623de7d Mon Sep 17 00:00:00 2001 From: blancks Date: Tue, 12 Nov 2024 23:10:08 +0100 Subject: [PATCH] Fixed testValidateWithValidPatchObject case in MoveTest.php --- tests/operations/MoveTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }