File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,10 +151,10 @@ public function testMetadataFactoryClearCache(): void
151151 // Get metadata again - should create new instance
152152 $ metadata2 = $ factory ->getMetadata (TestStruct::class);
153153 $ this ->assertInstanceOf (StructMetadata::class, $ metadata2 );
154-
154+
155155 // Should be different instances after cache clear
156156 $ this ->assertNotSame ($ metadata1 , $ metadata2 );
157-
157+
158158 // But should have same content
159159 $ this ->assertEquals ($ metadata1 ->className , $ metadata2 ->className );
160160 $ this ->assertEquals ($ metadata1 ->fields , $ metadata2 ->fields );
Original file line number Diff line number Diff line change 66
77use PHPUnit \Framework \TestCase ;
88use tommyknocker \struct \validation \rules \RequiredRule ;
9- use tommyknocker \struct \validation \ValidationResult ;
109
1110final class RequiredRuleTest extends TestCase
1211{
You can’t perform that action at this time.
0 commit comments