diff --git a/integration-tests/test-screening.sh b/integration-tests/test-screening.sh
index a75858ec56fa1a76c72bdb06a4efa7d72a155424..d7242403ad18b466a40322d791cbcd796af6026e 100755
--- a/integration-tests/test-screening.sh
+++ b/integration-tests/test-screening.sh
@@ -168,7 +168,7 @@ function integration_tests_screening {
 }
 
 function assertSpotSizes {
-    answer=`psql -tA --field-separator='x' --record-separator=',' -U postgres -d imaging_integration_tests \
+    answer=`psql -tA --field-separator='x' --record-separator=',' -U postgres -d $IMAGING_DB \
             -c "select spots_width,spots_height from containers order by spots_width"`
     
     assert_equals "spot sizes" "$1" $answer