@@ -200,8 +200,7 @@ public function test_after_creating_and_making_callbacks_are_called()
200200 $ this ->assertSame ($ user , $ _SERVER ['__test.user.making ' ]);
201201 $ this ->assertSame ($ user , $ _SERVER ['__test.user.creating ' ]);
202202
203- unset($ _SERVER ['__test.user.making ' ]);
204- unset($ _SERVER ['__test.user.creating ' ]);
203+ unset($ _SERVER ['__test.user.making ' ], $ _SERVER ['__test.user.creating ' ]);
205204 }
206205
207206 public function test_has_many_relationship ()
@@ -232,9 +231,7 @@ public function test_has_many_relationship()
232231 $ this ->assertInstanceOf (Eloquent::class, $ _SERVER ['__test.post.creating-user ' ]);
233232 $ this ->assertInstanceOf (Eloquent::class, $ _SERVER ['__test.post.state-user ' ]);
234233
235- unset($ _SERVER ['__test.post.creating-post ' ]);
236- unset($ _SERVER ['__test.post.creating-user ' ]);
237- unset($ _SERVER ['__test.post.state-user ' ]);
234+ unset($ _SERVER ['__test.post.creating-post ' ], $ _SERVER ['__test.post.creating-user ' ], $ _SERVER ['__test.post.state-user ' ]);
238235 }
239236
240237 public function test_belongs_to_relationship ()
@@ -331,8 +328,7 @@ public function test_belongs_to_many_relationship()
331328 $ this ->assertInstanceOf (Eloquent::class, $ _SERVER ['__test.role.creating-role ' ]);
332329 $ this ->assertInstanceOf (Eloquent::class, $ _SERVER ['__test.role.creating-user ' ]);
333330
334- unset($ _SERVER ['__test.role.creating-role ' ]);
335- unset($ _SERVER ['__test.role.creating-user ' ]);
331+ unset($ _SERVER ['__test.role.creating-role ' ], $ _SERVER ['__test.role.creating-user ' ]);
336332 }
337333
338334 public function test_belongs_to_many_relationship_with_existing_model_instances ()
0 commit comments