Skip to content

Commit

Permalink
Update namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea R Soper committed Dec 5, 2016
1 parent 7c68a8c commit 4f23d89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
*
* @copyright 2016 Palantir.net
*/
namespace Palantirnet\PalantirBehatExtension\Context;

use Behat\Gherkin\Node\TableNode;
use Palantirnet\PalantirBehatExtension\Context\SharedDrupalContext;

/**
* Class DrupalUserContext
Expand Down Expand Up @@ -42,7 +42,7 @@ public function assertRoleHasPermission($role, TableNode $perms)

// Check the permission against the role.
if (false === $roleStorage->isPermissionInRoles($perm, $rids)) {
throw new Exception('Role '.$role.' does not have permission '.$perm);
throw new \Exception('Role '.$role.' does not have permission '.$perm);
}
}

Expand Down

0 comments on commit 4f23d89

Please sign in to comment.