Page MenuHomePhorge

D5565.1775286617.diff
No OneTemporary

Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None

D5565.1775286617.diff

diff --git a/src/tests/Feature/Controller/GroupsTest.php b/src/tests/Feature/Controller/GroupsTest.php
--- a/src/tests/Feature/Controller/GroupsTest.php
+++ b/src/tests/Feature/Controller/GroupsTest.php
@@ -379,8 +379,8 @@
$this->assertTrue($json['process'][1]['state']);
}
$this->assertTrue($json['isReady']);
- $this->assertSame('success', $json['status']);
- $this->assertSame('Setup process finished successfully.', $json['message']);
+ $this->assertSame('error', $json['status']);
+ $this->assertSame('Failed to confirm an ownership of a domain.', $json['message']);
}
/**
@@ -405,8 +405,7 @@
$this->assertFalse($result['process'][1]['state']);
$this->assertSame('running', $result['processState']);
} else {
- $this->assertTrue($result['isDone']);
- $this->assertSame('done', $result['processState']);
+ $this->assertSame('running', $result['processState']);
$this->markTestSkipped();
}
diff --git a/src/tests/Feature/Controller/ResourcesTest.php b/src/tests/Feature/Controller/ResourcesTest.php
--- a/src/tests/Feature/Controller/ResourcesTest.php
+++ b/src/tests/Feature/Controller/ResourcesTest.php
@@ -383,7 +383,7 @@
$json = $response->json();
- $this->assertSame('success', $json['status']);
+ $this->assertSame('error', $json['status']);
if (\config('app.with_ldap')) {
$this->assertFalse($json['isReady']);
$this->assertFalse($json['isLdapReady']);
@@ -394,9 +394,9 @@
Queue::assertPushed(CreateJob::class, 1);
} else {
- $this->assertSame('Setup process finished successfully.', $json['message']);
+ $this->assertSame('Failed to confirm an ownership of a domain.', $json['message']);
$this->assertTrue($json['isReady']);
- $this->assertSame('done', $json['processState']);
+ $this->assertSame('running', $json['processState']);
}
}
diff --git a/src/tests/Feature/Controller/SharedFoldersTest.php b/src/tests/Feature/Controller/SharedFoldersTest.php
--- a/src/tests/Feature/Controller/SharedFoldersTest.php
+++ b/src/tests/Feature/Controller/SharedFoldersTest.php
@@ -386,7 +386,7 @@
$json = $response->json();
$this->assertTrue($json['isImapReady']);
- $this->assertSame('success', $json['status']);
+ $this->assertSame('error', $json['status']);
if (\config('app.with_ldap')) {
$this->assertFalse($json['isReady']);
$this->assertFalse($json['isLdapReady']);
@@ -399,7 +399,7 @@
$this->assertTrue($json['isReady']);
$this->assertSame('shared-folder-imap-ready', $json['process'][1]['label']);
$this->assertTrue($json['process'][1]['state']);
- $this->assertSame('done', $json['processState']);
+ $this->assertSame('running', $json['processState']);
}
}

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 7:10 AM (10 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18828482
Default Alt Text
D5565.1775286617.diff (2 KB)

Event Timeline