File tree Expand file tree Collapse file tree 2 files changed +0
-33
lines changed
src/Symfony/Component/Validator/Tests/Mapping/Loader Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -87,29 +87,6 @@ public function testLoadClassMetadataInAbstractClasses()
87
87
88
88
$ this ->assertCount (1 , $ metadata ->getConstraints ());
89
89
}
90
-
91
- public function testLoadClassMetadataIgnoresAbstractMethods ()
92
- {
93
- error_reporting (E_ALL | E_STRICT );
94
-
95
- $ loader = new StaticMethodLoader ('loadMetadata ' );
96
- $ caught = false ;
97
- try {
98
- include __DIR__ .'/AbstractMethodStaticLoader.php ' ;
99
- } catch (\Exception $ e ) {
100
- // catching the PHP notice that is converted to an exception by PHPUnit
101
- $ caught = true ;
102
- }
103
-
104
- if (!$ caught ) {
105
- $ this ->fail ('AbstractMethodStaticLoader should produce a strict standard error. ' );
106
- }
107
-
108
- $ metadata = new ClassMetadata (__NAMESPACE__ .'\AbstractMethodStaticLoader ' );
109
- $ loader ->loadClassMetadata ($ metadata );
110
-
111
- $ this ->assertCount (0 , $ metadata ->getConstraints ());
112
- }
113
90
}
114
91
115
92
interface StaticLoaderInterface
You can’t perform that action at this time.
0 commit comments