Fixed tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
27e68964a0
commit
885b6be733
|
@ -17,7 +17,7 @@ pipeline:
|
||||||
vue-build-settings:
|
vue-build-settings:
|
||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- ./build/vue-builds.sh ./settings/js/main.js
|
- ./build/vue-builds.sh ./settings/js/settings-vue.js
|
||||||
when:
|
when:
|
||||||
matrix:
|
matrix:
|
||||||
TESTS: vue-builds
|
TESTS: vue-builds
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
declare -a apps=("./settings/js/settings-vue.js" "./apps/updatenotification/js/merged.js")
|
|
||||||
root=$(pwd)
|
root=$(pwd)
|
||||||
entryFile=$1
|
entryFile=$1
|
||||||
|
|
||||||
|
|
|
@ -193,7 +193,7 @@ class AppSettingsControllerTest extends TestCase {
|
||||||
$policy->addAllowedImageDomain('https://usercontent.apps.nextcloud.com');
|
$policy->addAllowedImageDomain('https://usercontent.apps.nextcloud.com');
|
||||||
|
|
||||||
$expected = new TemplateResponse('settings',
|
$expected = new TemplateResponse('settings',
|
||||||
'settings',
|
'settings-vue',
|
||||||
[
|
[
|
||||||
'serverData' => [
|
'serverData' => [
|
||||||
'updateCount' => 0,
|
'updateCount' => 0,
|
||||||
|
@ -227,7 +227,7 @@ class AppSettingsControllerTest extends TestCase {
|
||||||
$policy->addAllowedImageDomain('https://usercontent.apps.nextcloud.com');
|
$policy->addAllowedImageDomain('https://usercontent.apps.nextcloud.com');
|
||||||
|
|
||||||
$expected = new TemplateResponse('settings',
|
$expected = new TemplateResponse('settings',
|
||||||
'settings',
|
'settings-vue',
|
||||||
[
|
[
|
||||||
'serverData' => [
|
'serverData' => [
|
||||||
'updateCount' => 0,
|
'updateCount' => 0,
|
||||||
|
|
Loading…
Reference in New Issue