diff --git a/core/runner/runner_test.go b/core/runner/runner_test.go index 6e82258a6..84ef9a494 100644 --- a/core/runner/runner_test.go +++ b/core/runner/runner_test.go @@ -220,7 +220,7 @@ func TestResume(t *testing.T) { testsuite.AssertQuery(t, db, `SELECT count(*) FROM flows_flowsession WHERE contact_id = $1 AND current_flow_id = $2 - AND status = $3 AND responded = TRUE AND org_id = 1 AND connection_id IS NULL AND output IS NOT NULL AND output_url IS NOT NULL`, contact.ID(), flow.ID(), tc.SessionStatus). + AND status = $3 AND responded = TRUE AND org_id = 1 AND connection_id IS NULL AND output IS NULL AND output_url IS NOT NULL`, contact.ID(), flow.ID(), tc.SessionStatus). Returns(1, "%d: didn't find expected session", i) runIsActive := tc.RunStatus == models.RunStatusActive || tc.RunStatus == models.RunStatusWaiting