Skip to content

Commit

Permalink
reset assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Aug 6, 2021
1 parent 734f59a commit 1cc43d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/runner/runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1cc43d1

Please sign in to comment.