summaryrefslogtreecommitdiffstats
path: root/test/afb-test/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'test/afb-test/fixtures')
-rw-r--r--test/afb-test/fixtures/source.json8
-rw-r--r--test/afb-test/fixtures/sources_invalid.json13
2 files changed, 21 insertions, 0 deletions
diff --git a/test/afb-test/fixtures/source.json b/test/afb-test/fixtures/source.json
new file mode 100644
index 0000000..817874f
--- /dev/null
+++ b/test/afb-test/fixtures/source.json
@@ -0,0 +1,8 @@
+{
+ "$schema": "http://iot.bzh/download/public/schema/json/signal-composer-schema.json",
+ "sources": {
+ "uid": "Dummy_Source",
+ "api": "dummy",
+ "info": "A dummy source to be used as test source"
+ }
+ }
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",
+ }
+ ]
+ }