|
|
@@ -71,8 +71,8 @@ func TestAcceptOrder_AlreadyAccepted(t *testing.T) {
|
|
|
t.Fatal("expected error")
|
|
|
}
|
|
|
appErr, ok := err.(*model.AppError)
|
|
|
- if !ok || appErr.Code != "already_accepted" {
|
|
|
- t.Errorf("expected already_accepted error, got %v", err)
|
|
|
+ if !ok || appErr.Code != "conflict" {
|
|
|
+ t.Errorf("expected conflict error, got %v", err)
|
|
|
}
|
|
|
}
|
|
|
|