@@ -4,12 +4,12 @@ use App\Services\EvaluationAccess;
|
||||
use App\Services\EvaluationNavigation;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
test('local evaluation root opens the dashboard while other installations retain their home page', function () {
|
||||
$this->get('/')->assertOk();
|
||||
test('local evaluation root retains its dashboard while other guest installations use login', function () {
|
||||
$this->get('/')->assertRedirect('/login');
|
||||
app()->instance('env', 'payable-testing');
|
||||
$this->get('http://127.0.0.1:8005/')->assertRedirect('/dashboard');
|
||||
$this->get('http://127.0.0.1:8015/')->assertOk();
|
||||
$this->get('http://compras.tempo.co.mz:8005/')->assertOk();
|
||||
$this->get('http://127.0.0.1:8015/')->assertRedirect('/login');
|
||||
$this->get('http://compras.tempo.co.mz:8005/')->assertRedirect('/login');
|
||||
});
|
||||
|
||||
test('local evaluation links send a guest to the existing password-free entry and retain the intended report', function () {
|
||||
|
||||
Reference in New Issue
Block a user