Skip to content

Commit

Permalink
Update test database
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Nov 8, 2024
1 parent 97484cc commit 6dde911
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion services/ivr/twiml/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func TestURNForRequest(t *testing.T) {
s := twiml.NewService(http.DefaultClient, "12345", "sesame")

makeRequest := func(body string) *http.Request {
r, _ := http.NewRequest("POST", "http://nyaruka.com/12345/incoming", strings.NewReader(body))
r, _ := http.NewRequest("POST", "http://textit.com/12345/incoming", strings.NewReader(body))
r.Header.Add("Content-Type", "application/x-www-form-urlencoded")
r.Header.Add("Content-Length", strconv.Itoa(len(body)))
return r
Expand Down
10 changes: 5 additions & 5 deletions testsuite/testdata/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ var AuthGroupIDs = map[string]int{
}

var Org1 = &Org{1, "bf0514a5-9407-44c9-b0f9-3f36f9c18414"}
var Admin = &User{3, "admin1@nyaruka.com"}
var Editor = &User{4, "editor1@nyaruka.com"}
var Viewer = &User{5, "viewer1@nyaruka.com"}
var Agent = &User{6, "agent1@nyaruka.com"}
var Admin = &User{3, "admin1@textit.com"}
var Editor = &User{4, "editor1@textit.com"}
var Viewer = &User{5, "viewer1@textit.com"}
var Agent = &User{6, "agent1@textit.com"}

var TwilioChannel = &Channel{10000, "74729f45-7f29-4868-9dc4-90e491e3c7d8", "T"}
var VonageChannel = &Channel{10001, "19012bfd-3ce3-4cae-9bb9-76cf92c73d49", "NX"}
Expand Down Expand Up @@ -80,7 +80,7 @@ var RemindersEvent3 = &CampaignEvent{10002, "3e4f06c2-e04f-47ca-a047-f5252b3160e

// secondary org.. only a few things
var Org2 = &Org{2, "3ae7cdeb-fd96-46e5-abc4-a4622f349921"}
var Org2Admin = &User{8, "admin2@nyaruka.com"}
var Org2Admin = &User{8, "admin2@textit.com"}
var Org2Channel = &Channel{20000, "a89bc872-3763-4b95-91d9-31d4e56c6651", "T"}
var Org2Contact = &Contact{20000, "26d20b72-f7d8-44dc-87f2-aae046dbff95", "tel:+250700000005", 20000}
var Org2Favorites = &Flow{20000, "f161bd16-3c60-40bd-8c92-228ce815b9cd"}
Expand Down
Binary file modified testsuite/testfiles/postgres.dump
Binary file not shown.
10 changes: 5 additions & 5 deletions web/contact/testdata/modify.json
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@
},
"note": "Need help",
"assignee": {
"email": "admin1@nyaruka.com",
"email": "admin1@textit.com",
"name": "Andy Admin"
}
}
Expand Down Expand Up @@ -1400,7 +1400,7 @@
"name": "Support"
},
"assignee": {
"email": "admin1@nyaruka.com",
"email": "admin1@textit.com",
"name": "Andy Admin"
}
}
Expand All @@ -1416,7 +1416,7 @@
"name": "Support"
},
"assignee": {
"email": "admin1@nyaruka.com",
"email": "admin1@textit.com",
"name": "Andy Admin"
}
},
Expand Down Expand Up @@ -1508,7 +1508,7 @@
"name": "Support"
},
"assignee": {
"email": "admin1@nyaruka.com",
"email": "admin1@textit.com",
"name": "Andy Admin"
}
}
Expand Down Expand Up @@ -1597,7 +1597,7 @@
"name": "Support"
},
"assignee": {
"email": "admin1@nyaruka.com",
"email": "admin1@textit.com",
"name": "Andy Admin"
}
}
Expand Down

0 comments on commit 6dde911

Please sign in to comment.