diff --git a/tests/output_hazard_test.py b/tests/output_hazard_test.py
index <HASH>..<HASH> 100644
--- a/tests/output_hazard_test.py
+++ b/tests/output_hazard_test.py
@@ -459,7 +459,7 @@ class GmfDBWriterTestCase(GmfDBBaseTestCase):
 
         # After calling the function under test we see the expected map data.
         output = self.job.output_set.get()
-        self.assertEqual(0, len(output.hazardcurve_set.all()))
+        self.assertFalse(output.hazardcurve_id)
         self.assertEqual(0, len(output.lossmap_set.all()))
         self.assertEqual(4, len(output.gmfdata_set.all()))
updated test as we have changed the relation between output and hazard curve to 1-1


Former-commit-id: a<I>a5d4a<I>f<I>b6ac0dcec8eccefbeb9a<I>