Fix risky tests
This commit is contained in:
parent
f810232331
commit
86397a6641
|
|
@ -611,11 +611,4 @@ class AuthControllerTest extends TestCase
|
|||
$this->get($url)->assertViewIs('auth.verify');
|
||||
$this->assertEquals(1, User::find($user->uid)->verified);
|
||||
}
|
||||
|
||||
public function testCaptcha()
|
||||
{
|
||||
$this->get('/auth/captcha')
|
||||
->assertSuccessful()
|
||||
->assertHeader('Content-Type', 'image/png');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,9 +51,9 @@ class SetupControllerTest extends TestCase
|
|||
public function testDatabase()
|
||||
{
|
||||
$fake = [
|
||||
'type' => 'mysql',
|
||||
'type' => env('DB_CONNECTION'),
|
||||
'host' => env('DB_HOST'),
|
||||
'port' => '3306',
|
||||
'port' => env('DB_PORT'),
|
||||
'db' => env('DB_DATABASE'),
|
||||
'username' => env('DB_USERNAME'),
|
||||
'password' => env('DB_PASSWORD'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user