aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dashboard/testing_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dashboard/testing_utils.py b/src/dashboard/testing_utils.py
index 01bb9c2..506e998 100644
--- a/src/dashboard/testing_utils.py
+++ b/src/dashboard/testing_utils.py
@@ -122,7 +122,7 @@ def make_resource_config(template, profile=None, image=None):
profile = make_resource_profile(lab=template.lab)
if image is None:
- image = make_image(profile)
+ image = make_image(profile, lab=template.lab)
return ResourceConfiguration.objects.create(profile=profile, image=image, template=template)