diff --git a/tests/AuthControllerTest.php b/tests/AuthControllerTest.php index 519dd6c5..3846d02d 100644 --- a/tests/AuthControllerTest.php +++ b/tests/AuthControllerTest.php @@ -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'); - } } diff --git a/tests/SetupControllerTest.php b/tests/SetupControllerTest.php index 82d2ccb9..4d3db529 100644 --- a/tests/SetupControllerTest.php +++ b/tests/SetupControllerTest.php @@ -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'),