Skip to content
Snippets Groups Projects
Commit 08bf8f3a authored by Samuel GAIST's avatar Samuel GAIST Committed by Samuel GAIST
Browse files

[databases][tests] Add version field for concerned tests

parent 63b79f0b
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,9 @@ class DatabaseCreationAPI(DatabaseAPIBase):
self.client.login(username=settings.SYSTEM_ACCOUNT, password=TEST_PWD)
response = self.client.post(
self.url,
json.dumps({"name": self.db_name, "declaration": self.DATABASE}),
json.dumps(
{"name": self.db_name, "version": 1, "declaration": self.DATABASE}
),
content_type="application/json",
)
......@@ -116,7 +118,9 @@ class DatabaseCreationAPI(DatabaseAPIBase):
response = self.client.post(
self.url,
json.dumps({"name": self.db_name, "declaration": self.DATABASE}),
json.dumps(
{"name": self.db_name, "version": 1, "declaration": self.DATABASE}
),
content_type="application/json",
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment