File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 88use RonasIT \Support \Exceptions \ClassNotExistsException ;
99use RonasIT \Support \Generators \ServiceGenerator ;
1010use RonasIT \Support \Tests \Support \GeneratorMockTrait ;
11- use RonasIT \Support \Traits \MockTrait ;
1211
1312class ServiceGeneratorTest extends TestCase
1413{
15- use GeneratorMockTrait, MockTrait ;
14+ use GeneratorMockTrait;
1615
1716 public function testMissingModel ()
1817 {
@@ -74,12 +73,6 @@ public function testCreateWithTraitStubNotExist()
7473 ]);
7574
7675 app (ServiceGenerator::class)
77- ->setRelations ([
78- 'hasOne ' => [],
79- 'belongsTo ' => [],
80- 'hasMany ' => [],
81- 'belongsToMany ' => [],
82- ])
8376 ->setFields ([])
8477 ->setModel ('Post ' )
8578 ->generate ();
@@ -130,12 +123,6 @@ public function testCreateWithoutTraitStubNotExist()
130123 ]);
131124
132125 app (ServiceGenerator::class)
133- ->setRelations ([
134- 'hasOne ' => [],
135- 'belongsTo ' => [],
136- 'hasMany ' => [],
137- 'belongsToMany ' => []
138- ])
139126 ->setFields ([])
140127 ->setModel ('Post ' )
141128 ->generate ();
You can’t perform that action at this time.
0 commit comments