Skip to content

Commit

Permalink
Update test database
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Aug 24, 2021
1 parent 20fb787 commit 90b5ccc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file modified mailroom_test.dump
Binary file not shown.
2 changes: 1 addition & 1 deletion services/tickets/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func TestFromTicketUUID(t *testing.T) {

// err if no ticketer type doesn't match
_, _, _, err = tickets.FromTicketUUID(ctx, db, ticket1.UUID, "zendesk")
assert.EqualError(t, err, "error looking up ticketer #1")
assert.EqualError(t, err, "error looking up ticketer #2")

// err if ticketer isn't configured correctly and can't be loaded as a service
_, _, _, err = tickets.FromTicketUUID(ctx, db, ticket1.UUID, "mailgun")
Expand Down
8 changes: 4 additions & 4 deletions testsuite/testdata/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ var TestersGroup = &Group{10001, "5e9d8fab-5e7e-4f51-b533-261af5dea70d"}
var ReportingLabel = &Label{10000, "ebc4dedc-91c4-4ed4-9dd6-daa05ea82698"}
var TestingLabel = &Label{10001, "a6338cdc-7938-4437-8b05-2d5d785e3a08"}

var Mailgun = &Ticketer{1, "f9c9447f-a291-4f3c-8c79-c089bbd4e713"}
var Zendesk = &Ticketer{2, "4ee6d4f3-f92b-439b-9718-8da90c05490b"}
var RocketChat = &Ticketer{3, "6c50665f-b4ff-4e37-9625-bc464fe6a999"}
var Internal = &Ticketer{4, "8bd48029-6ca1-46a8-aa14-68f7213b82b3"}
var Internal = &Ticketer{1, "8bd48029-6ca1-46a8-aa14-68f7213b82b3"}
var Mailgun = &Ticketer{2, "f9c9447f-a291-4f3c-8c79-c089bbd4e713"}
var Zendesk = &Ticketer{3, "4ee6d4f3-f92b-439b-9718-8da90c05490b"}
var RocketChat = &Ticketer{4, "6c50665f-b4ff-4e37-9625-bc464fe6a999"}

var Luis = &Classifier{1, "097e026c-ae79-4740-af67-656dbedf0263"}
var Wit = &Classifier{2, "ff2a817c-040a-4eb2-8404-7d92e8b79dd0"}
Expand Down

0 comments on commit 90b5ccc

Please sign in to comment.