1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Fixes for domains

This commit is contained in:
David Bomba 2021-05-15 14:38:32 +10:00
parent 6defeb0831
commit e59f00d390
2 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class SetDomainNameDb
else {
$query = [
'portal_domain' => $request->getHost(),
'portal_domain' => $request->getSchemeAndHttpHost(),
'portal_mode' => 'domain',
];

View File

@ -61,6 +61,7 @@ class ImportCompanyTest extends TestCase
$backup_json_file = json_decode(file_get_contents($backup_json_file));
$this->assertTrue(property_exists($backup_json_file, 'app_version'));
$this->assertTrue(property_exists($backup_json_file, 'users'));
// User::unguard();