]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix unit tests 3869/head
authorMorris Jobke <hey@morrisjobke.de>
Sat, 29 Apr 2017 03:13:41 +0000 (00:13 -0300)
committerMorris Jobke <hey@morrisjobke.de>
Sat, 29 Apr 2017 03:13:41 +0000 (00:13 -0300)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tests/Settings/Controller/UsersControllerTest.php

index 1afa44c0b22660d6f9aa807cde417ef2a8965483..589c5e97ee0d957460ff59022e93b93d1e25d126 100644 (file)
@@ -2339,17 +2339,17 @@ class UsersControllerTest extends \Test\TestCase {
 
                $accountDataBefore = [
                        AccountManager::PROPERTY_WEBSITE => ['value' => 'https://nextcloud.com', 'verified' => AccountManager::NOT_VERIFIED],
-                       AccountManager::PROPERTY_TWITTER => ['value' => '@nextclouders', 'verified' => AccountManager::NOT_VERIFIED],
+                       AccountManager::PROPERTY_TWITTER => ['value' => '@nextclouders', 'verified' => AccountManager::NOT_VERIFIED, 'signature' => 'theSignature'],
                ];
 
                $accountDataAfterWebsite = [
-                       AccountManager::PROPERTY_WEBSITE => ['value' => 'https://nextcloud.com', 'verified' => AccountManager::VERIFICATION_IN_PROGRESS],
-                       AccountManager::PROPERTY_TWITTER => ['value' => '@nextclouders', 'verified' => AccountManager::NOT_VERIFIED],
+                       AccountManager::PROPERTY_WEBSITE => ['value' => 'https://nextcloud.com', 'verified' => AccountManager::VERIFICATION_IN_PROGRESS, 'signature' => 'theSignature'],
+                       AccountManager::PROPERTY_TWITTER => ['value' => '@nextclouders', 'verified' => AccountManager::NOT_VERIFIED, 'signature' => 'theSignature'],
                ];
 
                $accountDataAfterTwitter = [
                        AccountManager::PROPERTY_WEBSITE => ['value' => 'https://nextcloud.com', 'verified' => AccountManager::NOT_VERIFIED],
-                       AccountManager::PROPERTY_TWITTER => ['value' => '@nextclouders', 'verified' => AccountManager::VERIFICATION_IN_PROGRESS],
+                       AccountManager::PROPERTY_TWITTER => ['value' => '@nextclouders', 'verified' => AccountManager::VERIFICATION_IN_PROGRESS, 'signature' => 'theSignature'],
                ];
 
                return [