@@ -126,7 +126,7 @@ public function testWhereHasOnARelationWithCustomIntermediateAndLocalKey()
126
126
public function testFirstOrFailThrowsAnException ()
127
127
{
128
128
HasManyThroughTestCountry::create (['id ' => 1 , 'name ' => 'United States of America ' , 'shortname ' => 'us ' ])
129
- ->
users ()->
create ([
'id ' =>
1 ,
'email ' =>
'[email protected] ' ,
'country_short ' =>
'us ' ]);
129
+ ->
users ()->
create ([
'id ' =>
1 ,
'email ' =>
'[email protected] ' ,
'country_short ' =>
'us ' ]);
130
130
131
131
HasManyThroughTestCountry::first ()->posts ()->firstOrFail ();
132
132
}
@@ -210,9 +210,9 @@ protected function seedData()
210
210
HasManyThroughTestCountry::create (['id ' => 1 , 'name ' => 'United States of America ' , 'shortname ' => 'us ' ])
211
211
->
users ()->
create ([
'id ' =>
1 ,
'email ' =>
'[email protected] ' ,
'country_short ' =>
'us ' ])
212
212
->posts ()->createMany ([
213
- [
'title ' =>
'A title ' ,
'body ' =>
'A body ' ,
'email ' =>
'[email protected] ' ],
214
- [
'title ' =>
'Another title ' ,
'body ' =>
'Another body ' ,
'email ' =>
'[email protected] ' ],
215
- ]);
213
+ [
'title ' =>
'A title ' ,
'body ' =>
'A body ' ,
'email ' =>
'[email protected] ' ],
214
+ [
'title ' =>
'Another title ' ,
'body ' =>
'Another body ' ,
'email ' =>
'[email protected] ' ],
215
+ ]);
216
216
}
217
217
218
218
/**
@@ -221,11 +221,11 @@ protected function seedData()
221
221
protected function seedDefaultData ()
222
222
{
223
223
HasManyThroughDefaultTestCountry::create (['id ' => 1 , 'name ' => 'United States of America ' ])
224
- ->
users ()->
create ([
'id ' =>
1 ,
'email ' =>
'[email protected] ' ])
225
- ->posts ()->createMany ([
226
- ['title ' => 'A title ' , 'body ' => 'A body ' ],
227
- ['title ' => 'Another title ' , 'body ' => 'Another body ' ],
228
- ]);
224
+ ->
users ()->
create ([
'id ' =>
1 ,
'email ' =>
'[email protected] ' ])
225
+ ->posts ()->createMany ([
226
+ ['title ' => 'A title ' , 'body ' => 'A body ' ],
227
+ ['title ' => 'Another title ' , 'body ' => 'Another body ' ],
228
+ ]);
229
229
}
230
230
231
231
/**
0 commit comments