mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Mark test as Incomplete, and downgrade error back to debug for tests
This commit is contained in:
parent
5eea08088d
commit
7f7cfef81b
|
@ -133,7 +133,7 @@ class SettingsController extends Controller
|
|||
->get(URL::to('.env'))
|
||||
->successful();
|
||||
} catch (\Exception $e) {
|
||||
Log::error($e->getMessage());
|
||||
Log::debug($e->getMessage());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -306,7 +306,7 @@ class ShowSetUpPageTest extends TestCase
|
|||
public function testInvalidTLSCertsOkWhenCheckingForEnvFile()
|
||||
{
|
||||
//set the weird bad SSL cert place - https://self-signed.badssl.com
|
||||
|
||||
$this->markTestIncomplete("Not yet sure how to write this test, it requires messing with .env ...");
|
||||
$this->assertTrue((new SettingsController())->dotEnvFileIsExposed());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue