Skip to content

Commit

Permalink
JsonSerializable Interface implemented for all relevant types
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrouhal committed Sep 17, 2023
1 parent 99d4521 commit 6a59b17
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/UrlTypeTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -150,20 +150,6 @@ final class UrlTypeTest extends TestCase
);
}

public function testClone(): void
{
Assert::noError(
static function () {
$value = 'https://marketadanisova.cz/wp-content/uploads/2018/09/Snímek-obrazovky-2018-09-18-v-21.21.41.png';
$url = UrlType::from($value);

$dolly = clone $url;

Assert::true($dolly->getValue() === $url->getValue());
}
);
}

}

(new UrlTypeTest())->run();

0 comments on commit 6a59b17

Please sign in to comment.