diff options
| -rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/tests/test.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/tests/test.js b/bitbake/lib/toaster/toastergui/static/js/tests/test.js index f3bf8d7733..4a4c83f4c9 100644 --- a/bitbake/lib/toaster/toastergui/static/js/tests/test.js +++ b/bitbake/lib/toaster/toastergui/static/js/tests/test.js | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | QUnit.test("Layer alert notification", function(assert) { | 5 | QUnit.test("Layer alert notification", function(assert) { |
| 6 | var layer = { | 6 | var layer = { |
| 7 | "layerdetailurl":"/toastergui/project/1/layer/22", | 7 | "layerdetailurl":"/toastergui/project/1/layer/22", |
| 8 | "xhrLayerUrl":"/toastergui/xhr_layer/1/9", | ||
| 8 | "vcs_url":"git://example.com/example.git", | 9 | "vcs_url":"git://example.com/example.git", |
| 9 | "detail":"[ git://example.com/example.git | master ]", | 10 | "detail":"[ git://example.com/example.git | master ]", |
| 10 | "vcs_reference":"master", | 11 | "vcs_reference":"master", |
| @@ -15,6 +16,7 @@ QUnit.test("Layer alert notification", function(assert) { | |||
| 15 | var layerDepsList = [ | 16 | var layerDepsList = [ |
| 16 | { | 17 | { |
| 17 | "layerdetailurl":"/toastergui/project/1/layer/9", | 18 | "layerdetailurl":"/toastergui/project/1/layer/9", |
| 19 | "xhrLayerUrl":"/toastergui/xhr_layer/1/9", | ||
| 18 | "vcs_url":"git://example.com/example.git", | 20 | "vcs_url":"git://example.com/example.git", |
| 19 | "detail":"[ git://example.com/example.git | master ]", | 21 | "detail":"[ git://example.com/example.git | master ]", |
| 20 | "vcs_reference":"master", | 22 | "vcs_reference":"master", |
| @@ -23,6 +25,7 @@ QUnit.test("Layer alert notification", function(assert) { | |||
| 23 | }, | 25 | }, |
| 24 | { | 26 | { |
| 25 | "layerdetailurl":"/toastergui/project/1/layer/9", | 27 | "layerdetailurl":"/toastergui/project/1/layer/9", |
| 28 | "xhrLayerUrl":"/toastergui/xhr_layer/1/9", | ||
| 26 | "vcs_url":"git://example.com/example.git", | 29 | "vcs_url":"git://example.com/example.git", |
| 27 | "detail":"[ git://example.com/example.git | master ]", | 30 | "detail":"[ git://example.com/example.git | master ]", |
| 28 | "vcs_reference":"master", | 31 | "vcs_reference":"master", |
| @@ -66,7 +69,8 @@ QUnit.test("Show notification", function(assert){ | |||
| 66 | var layer = { | 69 | var layer = { |
| 67 | "id": 1, | 70 | "id": 1, |
| 68 | "name": "meta-testing", | 71 | "name": "meta-testing", |
| 69 | "layerdetailurl": "/toastergui/project/1/layer/1" | 72 | "layerdetailurl": "/toastergui/project/1/layer/1", |
| 73 | "xhrLayerUrl": "/toastergui/xhr_layer/1/1" | ||
| 70 | }; | 74 | }; |
| 71 | 75 | ||
| 72 | QUnit.test("Add layer", function(assert){ | 76 | QUnit.test("Add layer", function(assert){ |
