aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/tests
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-04-07 15:44:07 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-04-11 15:48:35 +0200
commit9bf2ebf04d26e49c844b264f767a0345cce0be20 (patch)
tree0c1402deb0243578e79718bf92de289f5b8efc4d /server/sonar-web/tests
parentc8b01d4f1520a14be831547f6b35c072a8b9517e (diff)
downloadsonarqube-9bf2ebf04d26e49c844b264f767a0345cce0be20.tar.gz
sonarqube-9bf2ebf04d26e49c844b264f767a0345cce0be20.zip
SONAR-7531 Add pagination on the Code page
Diffstat (limited to 'server/sonar-web/tests')
-rw-r--r--server/sonar-web/tests/apps/code/store-test.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/server/sonar-web/tests/apps/code/store-test.js b/server/sonar-web/tests/apps/code/store-test.js
index de5ddbfadf1..155c84a8720 100644
--- a/server/sonar-web/tests/apps/code/store-test.js
+++ b/server/sonar-web/tests/apps/code/store-test.js
@@ -313,7 +313,7 @@ describe('Code :: Store', () => {
const breadcrumbsBefore = [{ key: 'A' }];
const bucketAfter = [
- { key: 'A', breadcrumbs: [{ key: 'A' }], children: [{ key: 'B' }] },
+ { key: 'A', breadcrumbs: [{ key: 'A' }], children: [{ key: 'B' }], total: 0 },
{ key: 'B', breadcrumbs: [{ key: 'A' }, { key: 'B' }] }
];
@@ -335,7 +335,8 @@ describe('Code :: Store', () => {
{
key: 'A',
breadcrumbs: [{ key: 'A' }],
- children: [{ key: 'B' }]
+ children: [{ key: 'B' }],
+ total: 0
},
{
key: 'B',
@@ -360,12 +361,14 @@ describe('Code :: Store', () => {
{
key: 'A',
breadcrumbs: [{ key: 'A' }],
- children: [{ key: 'B' }]
+ children: [{ key: 'B' }],
+ total: 0
},
{
key: 'B',
breadcrumbs: [{ key: 'A' }, { key: 'B' }],
- children: [{ key: 'C' }]
+ children: [{ key: 'C' }],
+ total: 0
},
{
key: 'C',