Skip to content

Commit

Permalink
Merge pull request rapidpro#224 from nyaruka/rem_contact_resolve
Browse files Browse the repository at this point in the history
Remove no longer used contact/resolve endpoint
  • Loading branch information
rowanseymour authored Apr 2, 2024
2 parents a488bcd + c9daeba commit 79c4339
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 198 deletions.
13 changes: 0 additions & 13 deletions web/contact/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,6 @@ func TestModify(t *testing.T) {
testsuite.RunWebTests(t, ctx, rt, "testdata/modify.json", nil)
}

func TestResolve(t *testing.T) {
ctx, rt := testsuite.Runtime()

defer testsuite.Reset(testsuite.ResetAll)

// detach Cathy's tel URN
rt.DB.MustExec(`UPDATE contacts_contacturn SET contact_id = NULL WHERE contact_id = $1`, testdata.Cathy.ID)

rt.DB.MustExec(`ALTER SEQUENCE contacts_contact_id_seq RESTART WITH 30000`)

testsuite.RunWebTests(t, ctx, rt, "testdata/resolve.json", nil)
}

func TestInterrupt(t *testing.T) {
ctx, rt := testsuite.Runtime()

Expand Down
69 changes: 0 additions & 69 deletions web/contact/resolve.go

This file was deleted.

116 changes: 0 additions & 116 deletions web/contact/testdata/resolve.json

This file was deleted.

0 comments on commit 79c4339

Please sign in to comment.