aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static/js/tests/test.js
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-12-09 16:52:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-12 20:44:54 +0000
commit23ad2a8ca08da30bd5ef1e01860021ced1967c07 (patch)
tree732783cdc34b1f3ce19363dbb96746c624d631cc /bitbake/lib/toaster/toastergui/static/js/tests/test.js
parent97ff2c0091c654bf01bc4b0809a6a664ad6c579c (diff)
downloadopenembedded-core-contrib-23ad2a8ca08da30bd5ef1e01860021ced1967c07.tar.gz
bitbake: toaster: importlayer Add git revision typeahead to that input field
Add the front end mechanism to load the typeahead for the git revision field on importing a layer. Also fix one indentation issue and update the js test. (Bitbake rev: 28114be42174095b812a93d4b5a0e01e953d74f8) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/tests/test.js')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/tests/test.js2
1 files changed, 1 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 d7953de447..f3bf8d7733 100644
--- a/bitbake/lib/toaster/toastergui/static/js/tests/test.js
+++ b/bitbake/lib/toaster/toastergui/static/js/tests/test.js
@@ -144,7 +144,7 @@ QUnit.test("Make typeaheads", function(assert){
/* Page init functions */
QUnit.test("Import layer page init", function(assert){
- assert.throws(importLayerPageInit());
+ assert.throws(importLayerPageInit({ xhrGitRevTypeAheadUrl: "url" }));
});
QUnit.test("Project page init", function(assert){