Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Make sure we do not save additional data via graphQL

Mira Szewczyk7fd2a8b8b88b
diff --git a/tests/api/test_extensions.py b/tests/api/test_extensions.py
index 151a23b6f0..13d8b627aa 100644
--- a/tests/api/test_extensions.py
+++ b/tests/api/test_extensions.py
@@ -169,10 +169,12 @@ def test_plugin_configuration_update(
first_configuration_item = plugin.configuration[0]
assert first_configuration_item["name"] == updated_configuration_item["name"]
assert first_configuration_item["value"] == updated_configuration_item["value"]
+ assert set(first_configuration_item.keys()) == {"name", "value"}
second_configuration_item = plugin.configuration[1]
assert second_configuration_item["name"] == old_configuration[1]["name"]
assert second_configuration_item["value"] == old_configuration[1]["value"]
+ assert set(second_configuration_item.keys()) == {"name", "value"}
def test_plugin_update_saves_boolean_as_boolean(