From 416d79407a2f110ba536bcc4fe8eaaff3c944640 Mon Sep 17 00:00:00 2001 From: MrJuliuss Date: Sun, 15 Dec 2013 21:43:36 +0100 Subject: [PATCH] [Fix] error in permission unit test --- tests/PermissionProviderTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/PermissionProviderTest.php b/tests/PermissionProviderTest.php index 9dd459c..a537cea 100644 --- a/tests/PermissionProviderTest.php +++ b/tests/PermissionProviderTest.php @@ -20,6 +20,9 @@ public function testCreatePermission() $this->assertEquals($permission, Permission::where('value', '=', 'foo-bar')->get()->first()); } + /** + * @expectedException MrJuliuss\Syntara\Models\Permissions\ValueRequiredException + */ public function testCreatePermissionInvalidInfos() { $permissionData = array(