diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-09-27 11:25:14 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-09-27 13:05:37 +0200 |
commit | fe8f535a3544f3d828c6128d52591c5d194b693e (patch) | |
tree | 1ec95acc1fd3dd58c90a293e14b19c776b84b6ee /test/afb-test/fixtures/sources_invalid.json | |
parent | 54aaf898304ff0c2c6439d3cb4da415e97e07857 (diff) |
Add tests on sources injection at runtime
This adds some basic tests about adding dummy sources into
the signal composer in addition of signals.
Change-Id: I028faa612b749866a3ab986a2f46fe00dd2d7884
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'test/afb-test/fixtures/sources_invalid.json')
-rw-r--r-- | test/afb-test/fixtures/sources_invalid.json | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/afb-test/fixtures/sources_invalid.json b/test/afb-test/fixtures/sources_invalid.json new file mode 100644 index 0000000..e7388aa --- /dev/null +++ b/test/afb-test/fixtures/sources_invalid.json @@ -0,0 +1,13 @@ +{ + "$schema": "http://iot.bzh/download/public/schema/json/signal-composer-schema.json", + "sources": [ + { + "uid": "MissingFieldSource", + "info": "A dummy source to be used as test source", + },{ + "uid": "InvalidFieldSource", + "api": "anotherDummySource", + "retention": "A dummy source to be used as test source", + } + ] + } |