fix failing test

pull/128/head
Karolis Rusenas 2017-12-21 10:31:55 +00:00
parent 9a8f8090c4
commit 0691b349b3
1 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ func TestProcessApprovalReply(t *testing.T) {
bot.approvalsRespCh <- &b.ApprovalResponse{
User: "123",
Status: types.ApprovalStatusApproved,
Text: fmt.Sprintf("%s %s", bot.ApprovalResponseKeyword, identifier),
Text: fmt.Sprintf("%s %s", b.ApprovalResponseKeyword, identifier),
}
time.Sleep(1 * time.Second)
@ -288,7 +288,7 @@ func TestProcessRejectedReply(t *testing.T) {
bot.approvalsRespCh <- &b.ApprovalResponse{
User: "123",
Status: types.ApprovalStatusRejected,
Text: fmt.Sprintf("%s %s", bot.RejectResponseKeyword, identifier),
Text: fmt.Sprintf("%s %s", b.RejectResponseKeyword, identifier),
}
time.Sleep(1 * time.Second)