summaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-04-24 21:04:05 +0200
committerGeorg Ehrke <developer@georgehrke.com>2017-04-26 09:28:15 +0200
commit6d7714f1826f443ec9395b4d1c630c3ad44dc7ef (patch)
treeca804c3cc09f484324aea319397404e73b64179f /apps/comments
parentf32fc97533a0dd1a43b132cc1ff457693434083c (diff)
downloadnextcloud-server-6d7714f1826f443ec9395b4d1c630c3ad44dc7ef.tar.gz
nextcloud-server-6d7714f1826f443ec9395b4d1c630c3ad44dc7ef.zip
fix CommentsTabsView js test
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/tests/js/commentstabviewSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/tests/js/commentstabviewSpec.js b/apps/comments/tests/js/commentstabviewSpec.js
index 0bbfaa1f295..c961548d806 100644
--- a/apps/comments/tests/js/commentstabviewSpec.js
+++ b/apps/comments/tests/js/commentstabviewSpec.js
@@ -153,7 +153,7 @@ describe('OCA.Comments.CommentsTabView tests', function() {
expect($comment.find('strong:first').text()).toEqual('Thane of Cawdor');
expect($comment.find('.avatar[data-user=banquo]').length).toEqual(1);
- expect($comment.find('strong:last-child').text()).toEqual('Lord Banquo');
+ expect($comment.find('.avatar-name-wrapper:last-child strong').text()).toEqual('Lord Banquo');
});
});