mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for domains
This commit is contained in:
parent
6defeb0831
commit
e59f00d390
@ -60,7 +60,7 @@ class SetDomainNameDb
|
|||||||
else {
|
else {
|
||||||
|
|
||||||
$query = [
|
$query = [
|
||||||
'portal_domain' => $request->getHost(),
|
'portal_domain' => $request->getSchemeAndHttpHost(),
|
||||||
'portal_mode' => 'domain',
|
'portal_mode' => 'domain',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -61,6 +61,7 @@ class ImportCompanyTest extends TestCase
|
|||||||
$backup_json_file = json_decode(file_get_contents($backup_json_file));
|
$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, 'app_version'));
|
||||||
|
$this->assertTrue(property_exists($backup_json_file, 'users'));
|
||||||
|
|
||||||
// User::unguard();
|
// User::unguard();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user