Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
  • Loading branch information
skjnldsv committed Jun 12, 2018
1 parent 27e6896 commit 885b6be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pipeline:
vue-build-settings:
image: node
commands:
- ./build/vue-builds.sh ./settings/js/main.js
- ./build/vue-builds.sh ./settings/js/settings-vue.js
when:
matrix:
TESTS: vue-builds
Expand Down
1 change: 0 additions & 1 deletion build/vue-builds.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

declare -a apps=("./settings/js/settings-vue.js" "./apps/updatenotification/js/merged.js")
root=$(pwd)
entryFile=$1

Expand Down
4 changes: 2 additions & 2 deletions tests/Settings/Controller/AppSettingsControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function testViewApps() {
$policy->addAllowedImageDomain('https://usercontent.apps.nextcloud.com');

$expected = new TemplateResponse('settings',
'settings',
'settings-vue',
[
'serverData' => [
'updateCount' => 0,
Expand Down Expand Up @@ -227,7 +227,7 @@ public function testViewAppsAppstoreNotEnabled() {
$policy->addAllowedImageDomain('https://usercontent.apps.nextcloud.com');

$expected = new TemplateResponse('settings',
'settings',
'settings-vue',
[
'serverData' => [
'updateCount' => 0,
Expand Down

0 comments on commit 885b6be

Please sign in to comment.