@@ -69,12 +69,6 @@ public function output_generates_models($definition, $path, $model)
69
69
->with ('model.casts.stub ' )
70
70
->andReturn ($ this ->stub ('model.casts.stub ' ));
71
71
72
- if (in_array ($ definition , ['drafts/readme-example.yaml ' , 'drafts/all-column-types.yaml ' ])) {
73
- $ this ->files ->expects ('stub ' )
74
- ->with ('model.dates.stub ' )
75
- ->andReturn ($ this ->stub ('model.dates.stub ' ));
76
- }
77
-
78
72
$ this ->files ->shouldReceive ('stub ' )
79
73
->with ('model.method.stub ' )
80
74
->andReturn ($ this ->stub ('model.method.stub ' ));
@@ -214,9 +208,6 @@ public function output_works_for_pascal_case_definition()
214
208
->with ('model.casts.stub ' )
215
209
->andReturn ($ this ->stub ('model.casts.stub ' ))
216
210
->twice ();
217
- $ this ->files ->expects ('stub ' )
218
- ->with ('model.dates.stub ' )
219
- ->andReturn (file_get_contents ('stubs/model.dates.stub ' ));
220
211
$ this ->files ->expects ('stub ' )
221
212
->with ('model.method.stub ' )
222
213
->andReturn ($ this ->stub ('model.method.stub ' ))
@@ -421,12 +412,6 @@ public function output_generates_phpdoc_for_model($definition, $path, $model)
421
412
->with ('model.casts.stub ' )
422
413
->andReturn ($ this ->stub ('model.casts.stub ' ));
423
414
424
- if ($ definition === 'drafts/readme-example.yaml ' ) {
425
- $ this ->files ->expects ('stub ' )
426
- ->with ('model.dates.stub ' )
427
- ->andReturn ($ this ->stub ('model.dates.stub ' ));
428
- }
429
-
430
415
$ this ->files ->shouldReceive ('stub ' )
431
416
->with ('model.method.stub ' )
432
417
->andReturn ($ this ->stub ('model.method.stub ' ));
0 commit comments