summaryrefslogtreecommitdiff
path: root/archaeological_finds/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/tests.py')
-rw-r--r--archaeological_finds/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py
index 620f648fd..d5f1fdb62 100644
--- a/archaeological_finds/tests.py
+++ b/archaeological_finds/tests.py
@@ -680,7 +680,7 @@ class FindSearchTest(FindInit, TestCase):
content = response.content.decode()
res = json.loads(content)
self.assertEqual(res['recordsTotal'], 1)
- self.assertEqual(res["rows"][0]["material_types__label"],
+ self.assertEqual(res["rows"][0]["material_types"],
str(iron_metal))
# no result for the brother
@@ -744,7 +744,7 @@ class FindSearchTest(FindInit, TestCase):
self.assertEqual(response.status_code, 200)
res = json.loads(response.content.decode())
self.assertEqual(res['recordsTotal'], 1)
- self.assertEqual(res["rows"][0]["datings__period__label"],
+ self.assertEqual(res["rows"][0]["cached_periods"],
str(final_neo))
# no result for the brother