Fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/2095/head
Roeland Jago Douma 7 years ago
parent e09c386f70
commit aee2d6318f
No known key found for this signature in database
GPG Key ID: F941078878347C0C

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

1
.gitignore vendored

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

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

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

@ -118,19 +118,6 @@ module.exports = function(config) {
'settings/tests/js/appsSpec.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'
]
}
];
}

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

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

Loading…
Cancel
Save