From c5a55bb424f5f1b1a81ea101509d98d99ae2dec1 Mon Sep 17 00:00:00 2001 From: Jesse Leite Date: Fri, 19 Feb 2016 15:15:42 -0500 Subject: [PATCH] Adam with the one-liners. --- tests/IlluminateErrorStoreTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/IlluminateErrorStoreTest.php b/tests/IlluminateErrorStoreTest.php index 59c19b0..7e5d025 100644 --- a/tests/IlluminateErrorStoreTest.php +++ b/tests/IlluminateErrorStoreTest.php @@ -7,9 +7,7 @@ class IlluminateErrorStoreTest extends PHPUnit_Framework_TestCase { public function test_it_converts_array_keys_to_dot_notation() { - $errors = new MessageBag([ - 'foo.bar' => 'Some error', - ]); + $errors = new MessageBag(['foo.bar' => 'Some error']); $session = Mockery::mock('Illuminate\Session\Store'); $session->shouldReceive('has')->with('errors')->andReturn(true); $session->shouldReceive('get')->with('errors')->andReturn($errors);