Skip to content

Commit

Permalink
Fixed testValidateWithValidPatchObject case in MoveTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
blancks committed Nov 12, 2024
1 parent 31f4db5 commit 56aa710
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/operations/MoveTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 56aa710

Please sign in to comment.