@@ -1209,11 +1209,11 @@ public function test_updating_a_resource_with_toggling_belongs_to_many_relation(
12091209 'belongsToManyRelation ' => [
12101210 [
12111211 'operation ' => 'toggle ' ,
1212- 'key ' => $ belongsToManyToggled ->getKey ()
1212+ 'key ' => $ belongsToManyToggled ->getKey (),
12131213 ],
12141214 [
12151215 'operation ' => 'toggle ' ,
1216- 'key ' => $ belongsToManyNotToggled ->getKey ()
1216+ 'key ' => $ belongsToManyNotToggled ->getKey (),
12171217 ],
12181218 ],
12191219 ],
@@ -1269,15 +1269,15 @@ public function test_updating_a_resource_with_toggling_belongs_to_many_relation_
12691269 'belongsToManyRelation ' => [
12701270 [
12711271 'operation ' => 'toggle ' ,
1272- 'key ' => $ belongsToManyToggled ->getKey (),
1272+ 'key ' => $ belongsToManyToggled ->getKey (),
12731273 'attributes ' => ['number ' => 5001 ], // 5001 because with factory it can't exceed 5000
12741274 'pivot ' => [
12751275 'number ' => 20 ,
12761276 ],
12771277 ],
12781278 [
12791279 'operation ' => 'toggle ' ,
1280- 'key ' => $ belongsToManyNotToggled ->getKey (),
1280+ 'key ' => $ belongsToManyNotToggled ->getKey (),
12811281 'attributes ' => ['number ' => 5002 ], // 5002 because with factory it can't exceed 5000
12821282 'pivot ' => [
12831283 'number ' => 21 ,
@@ -1351,12 +1351,12 @@ public function test_updating_a_resource_with_syncing_belongs_to_many_relation()
13511351 'belongsToManyRelation ' => [
13521352 [
13531353 'operation ' => 'sync ' ,
1354- 'key ' => $ belongsToManyNotSynced ->getKey (),
1354+ 'key ' => $ belongsToManyNotSynced ->getKey (),
13551355 'attributes ' => ['number ' => 5001 ], // 5001 because with factory it can't exceed 5000
13561356 'pivot ' => [
13571357 'number ' => 20 ,
13581358 ],
1359- ]
1359+ ],
13601360 ],
13611361 ],
13621362 ],
@@ -1417,21 +1417,21 @@ public function test_updating_a_resource_with_syncing_belongs_to_many_relation_w
14171417 'belongsToManyRelation ' => [
14181418 [
14191419 'operation ' => 'sync ' ,
1420- 'key ' => $ belongsToManyToSync1 ->getKey (),
1420+ 'key ' => $ belongsToManyToSync1 ->getKey (),
14211421 'attributes ' => ['number ' => 5001 ], // 5001 because with factory it can't exceed 5000
14221422 'pivot ' => [
14231423 'number ' => 20 ,
14241424 ],
14251425 ],
14261426 [
1427- 'operation ' => 'sync ' ,
1428- 'key ' => $ belongsToManyToSync2 ->getKey (),
1427+ 'operation ' => 'sync ' ,
1428+ 'key ' => $ belongsToManyToSync2 ->getKey (),
14291429 'without_detaching ' => true ,
1430- 'attributes ' => ['number ' => 5002 ], // 5001 because with factory it can't exceed 5000
1431- 'pivot ' => [
1430+ 'attributes ' => ['number ' => 5002 ], // 5001 because with factory it can't exceed 5000
1431+ 'pivot ' => [
14321432 'number ' => 21 ,
14331433 ],
1434- ]
1434+ ],
14351435 ],
14361436 ],
14371437 ],
@@ -1505,14 +1505,14 @@ public function test_updating_a_resource_with_syncing_belongs_to_many_relation_w
15051505 'relations ' => [
15061506 'belongsToManyRelation ' => [
15071507 [
1508- 'operation ' => 'sync ' ,
1509- 'key ' => $ belongsToManyNotSynced ->getKey (),
1508+ 'operation ' => 'sync ' ,
1509+ 'key ' => $ belongsToManyNotSynced ->getKey (),
15101510 'without_detaching ' => true ,
1511- 'attributes ' => ['number ' => 5002 ], // 5001 because with factory it can't exceed 5000
1512- 'pivot ' => [
1511+ 'attributes ' => ['number ' => 5002 ], // 5001 because with factory it can't exceed 5000
1512+ 'pivot ' => [
15131513 'number ' => 21 ,
15141514 ],
1515- ]
1515+ ],
15161516 ],
15171517 ],
15181518 ],
@@ -1579,12 +1579,12 @@ public function test_updating_a_resource_with_syncing_belongs_to_many_relation_w
15791579 'belongsToManyRelation ' => [
15801580 [
15811581 'operation ' => 'sync ' ,
1582- 'key ' => $ belongsToManyNotSynced ->getKey (),
1582+ 'key ' => $ belongsToManyNotSynced ->getKey (),
15831583 'attributes ' => ['number ' => 5002 ], // 5001 because with factory it can't exceed 5000
15841584 'pivot ' => [
15851585 'number ' => 21 ,
15861586 ],
1587- ]
1587+ ],
15881588 ],
15891589 ],
15901590 ],
0 commit comments