Skip to content
This repository was archived by the owner on Feb 26, 2018. It is now read-only.

Commit

Permalink
Adam with the one-liners.
Browse files Browse the repository at this point in the history
Jesse Leite committed Feb 19, 2016
1 parent c49d9e9 commit c5a55bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/IlluminateErrorStoreTest.php
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit c5a55bb

Please sign in to comment.