aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-05-22 13:29:38 +0200
committerJulius Härtl <jus@bitgrid.net>2019-06-07 07:32:48 +0200
commit6d848b545df054b994ca056a90c72661e4ef6e95 (patch)
tree0c388d1b24e9fe9e972a82cf16dde0dd9e99b246 /core/src
parent2d0337332d64065c5bf36dfb775c48976c0f730d (diff)
downloadnextcloud-server-6d848b545df054b994ca056a90c72661e4ef6e95.tar.gz
nextcloud-server-6d848b545df054b994ca056a90c72661e4ef6e95.zip
Adjust jsunit tests for new toast library
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/OCP/toast.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OCP/toast.js b/core/src/OCP/toast.js
index a9c96f14a70..66272919f21 100644
--- a/core/src/OCP/toast.js
+++ b/core/src/OCP/toast.js
@@ -75,7 +75,7 @@ const Toast = {
callback: options.callback,
close: options.close,
gravity: 'top',
- selector: 'content',
+ selector: !window.TESTING ? 'content' : 'testArea',
positionLeft: false,
backgroundColor: '',
className: 'toast ' + classes