File tree Expand file tree Collapse file tree 2 files changed +0
-64
lines changed
tests/Integration/Registry Expand file tree Collapse file tree 2 files changed +0
-64
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -56,31 +56,6 @@ public function testLoad()
5656 }
5757 }
5858
59- public function testLoadMinimal () {
60- $ classDir = __DIR__ . '/../../../example/classes_minimal ' ;
61-
62- // $propertyParser = new ClassPropertyParser(new DocCommentParser());
63- $ propertyParser = new AvroClassPropertyParser (new DocCommentParser ());
64- $ parser = new ClassParser ((new ParserFactory ())->create (ParserFactory::PREFER_PHP7 ), $ propertyParser );
65- $ converter = new PhpClassConverter ($ parser );
66- $ registry = (new ClassRegistry ($ converter ))->addClassDirectory ($ classDir )->load ();
67-
68- self ::assertInstanceOf (ClassRegistryInterface::class, $ registry );
69-
70- $ classes = $ registry ->getClasses ();
71-
72- self ::assertCount (1 , $ classes );
73-
74- foreach ($ classes as $ class ) {
75- self ::assertInstanceOf (PhpClassInterface::class, $ class );
76- }
77-
78- $ generator = new SchemaGenerator ('' );
79- $ generator ->setClassRegistry ($ registry );
80- $ schemas = $ generator ->generate ();
81- self ::assertCount (1 , $ schemas );
82- }
83-
8459 public function testRegisterSchemaFileThatDoesntExist ()
8560 {
8661 $ fileInfo = new SplFileInfo ('somenonexistingfile ' );
You can’t perform that action at this time.
0 commit comments