Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Simplify
  • Loading branch information
AlexisSerneels authored Mar 28, 2024
commit 67d8a217b835adf52d179912ad48e555a574ceb1
6 changes: 3 additions & 3 deletions tests/StageFrontTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,14 +364,14 @@ public function domains_can_be_ignored_so_access_is_not_denied_by_stagefront()
Config::set('app.url', 'http://domain.example.com');

$this->url = Config::get('stagefront.url');
$this->registerRouteWithDomain('/public', 'Public');

$this->registerRouteWithDomain('/admin', 'Admin');

Config::set('stagefront.ignore_domains', ['domain.example.com']);

$this->enableStageFront();

$this->get('/public')->assertRedirect($this->url);
$this->get('http://domain.example.com/public')->assertStatus(200)->assertSee('Public');
$this->get('/admin')->assertStatus(200)->assertSee('Admin');
}

/** @test */
Expand Down