Fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2017-04-02 21:41:14 +02:00
parent e09c386f70
commit aee2d6318f
No known key found for this signature in database
GPG Key ID: F941078878347C0C
7 changed files with 0 additions and 20 deletions

View File

@ -30,7 +30,6 @@ pipeline:
image: nextcloudci/php7.0:php7.0-7 image: nextcloudci/php7.0:php7.0-7
commands: commands:
- ./occ app:check-code admin_audit - ./occ app:check-code admin_audit
- ./occ app:check-code bruteforcesettings
- ./occ app:check-code comments - ./occ app:check-code comments
- ./occ app:check-code federation - ./occ app:check-code federation
- ./occ app:check-code sharebymail - ./occ app:check-code sharebymail

1
.gitignore vendored
View File

@ -38,7 +38,6 @@
/apps/files_external/3rdparty/irodsphp/prods/tutorials /apps/files_external/3rdparty/irodsphp/prods/tutorials
/apps/files_external/3rdparty/irodsphp/prods/test* /apps/files_external/3rdparty/irodsphp/prods/test*
/apps/files_external/tests/config.*.php /apps/files_external/tests/config.*.php
!/apps/bruteforcesettings
# ignore themes except the example and the README # ignore themes except the example and the README

View File

@ -282,7 +282,6 @@ Feature: provisioning
Then the OCS status code should be "100" Then the OCS status code should be "100"
And the HTTP status code should be "200" And the HTTP status code should be "200"
And apps returned are And apps returned are
| bruteforcesettings |
| comments | | comments |
| dav | | dav |
| federatedfilesharing | | federatedfilesharing |

View File

@ -42,7 +42,6 @@
"workflowengine" "workflowengine"
], ],
"alwaysEnabled": [ "alwaysEnabled": [
"bruteforcesettings",
"files", "files",
"dav", "dav",
"federatedfilesharing", "federatedfilesharing",

View File

@ -118,19 +118,6 @@ module.exports = function(config) {
'settings/tests/js/appsSpec.js', 'settings/tests/js/appsSpec.js',
'settings/tests/js/users/deleteHandlerSpec.js' 'settings/tests/js/users/deleteHandlerSpec.js'
] ]
},
{
name: 'bruteforcesettings',
srcFiles: [
// need to enforce loading order...
'apps/bruteforcesettings/js/IPWhitelistModel.js',
'apps/bruteforcesettings/js/IPWhitelistCollection.js',
'apps/bruteforcesettings/js/IPWhitelistView.js',
'apps/bruteforcesettings/js/IPWhitelist.js',
],
testFiles: [
'apps/bruteforcesettings/tests/js/IPWhitelistSpec.js'
]
} }
]; ];
} }

View File

@ -329,7 +329,6 @@ class AppManagerTest extends TestCase {
$this->appConfig->setValue('test2', 'enabled', 'no'); $this->appConfig->setValue('test2', 'enabled', 'no');
$this->appConfig->setValue('test3', 'enabled', '["foo"]'); $this->appConfig->setValue('test3', 'enabled', '["foo"]');
$apps = [ $apps = [
'bruteforcesettings',
'dav', 'dav',
'federatedfilesharing', 'federatedfilesharing',
'files', 'files',
@ -355,7 +354,6 @@ class AppManagerTest extends TestCase {
$this->appConfig->setValue('test3', 'enabled', '["foo"]'); $this->appConfig->setValue('test3', 'enabled', '["foo"]');
$this->appConfig->setValue('test4', 'enabled', '["asd"]'); $this->appConfig->setValue('test4', 'enabled', '["asd"]');
$enabled = [ $enabled = [
'bruteforcesettings',
'dav', 'dav',
'federatedfilesharing', 'federatedfilesharing',
'files', 'files',

View File

@ -21,7 +21,6 @@
<directory suffix=".php">..</directory> <directory suffix=".php">..</directory>
<exclude> <exclude>
<directory suffix=".php">../3rdparty</directory> <directory suffix=".php">../3rdparty</directory>
<directory suffix=".php">../apps/bruteforcesettings/tests</directory>
<directory suffix=".php">../apps/dav/tests</directory> <directory suffix=".php">../apps/dav/tests</directory>
<directory suffix=".php">../apps/encryption/tests</directory> <directory suffix=".php">../apps/encryption/tests</directory>
<directory suffix=".php">../apps/federatedfilesharing/tests</directory> <directory suffix=".php">../apps/federatedfilesharing/tests</directory>