Page MenuHomePhorge

D5565.1774884125.diff
No OneTemporary

Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None

D5565.1774884125.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
@@ -378,8 +378,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']);
}
/**
@@ -404,8 +404,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
@@ -382,7 +382,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']);
@@ -393,9 +393,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
@@ -385,7 +385,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']);
@@ -398,7 +398,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
Mon, Mar 30, 3:22 PM (4 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18732912
Default Alt Text
D5565.1774884125.diff (2 KB)

Event Timeline