projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
config.pazpar2_url can be undefined, part of MKWS-253
[mkws-moved-to-github.git]
/
test
/
spec
/
mkws-config.js
diff --git
a/test/spec/mkws-config.js
b/test/spec/mkws-config.js
index
4cba621
..
b6852a9
100644
(file)
--- a/
test/spec/mkws-config.js
+++ b/
test/spec/mkws-config.js
@@
-35,7
+35,7
@@
describe("Check mkws.config object", function () {
describe("Check pazpar2 config", function () {
it("pazpar2_url is a path or an full URL", function () {
- expect(mkws.config.pazpar2_url).toMatch(/^(\/|https?:\/\/)/)
+ expect(mkws.config.pazpar2_url).toMatch(/^(\/|https?:\/\/|undefined$)/)
});
});