Skip to content

Commit

Permalink
Merge branch '3.1' into 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Mar 21, 2016
2 parents 5edc9a8 + 909d9c9 commit 7bff913
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Processor/Installer.php
Expand Up @@ -183,6 +183,8 @@ protected function isAuthenticationInstallable(array $auth)
return ($auth['provider']['driver'] === 'eloquent' && app($auth['provider']['model']) instanceof User);
} catch (ReflectionException $e) {
return false;
} finally {
return false;
}
}
}
1 change: 1 addition & 0 deletions tests/InstallationTest.php
Expand Up @@ -121,6 +121,7 @@ public function testCreateAdminMethod()
{
$app = $this->app;
$app['files'] = m::mock('\Illuminate\Filesystem\Filesystem');
$app['encrypter'] = m::mock('\Illuminate\Contracts\Encryption\Encrypter');
$app['validator'] = $validator = m::mock('\Illuminate\Contracts\Validation\Validator');
$app['orchestra.role'] = $role = m::mock('\Orchestra\Model\Role');
$app['orchestra.user'] = $user = m::mock('\Orchestra\Model\User');
Expand Down

0 comments on commit 7bff913

Please sign in to comment.