Skip to content
Snippets Groups Projects
Unverified Commit 1e23ec28 authored by meskio's avatar meskio :tent:
Browse files

Fix order deactivation test

The change to use UTC broke the test
parent 0f198974
No related branches found
No related tags found
No related merge requests found
......@@ -236,7 +236,7 @@ func TestOrderDeactivation(t *testing.T) {
tapi.addTestProducts()
order := testOrder
order.Deadline = time.Now().Add(-1 * time.Minute)
order.Deadline = time.Now().Add(-1 * time.Minute).UTC()
resp := tapi.doOrder("POST", "/order", order, nil)
if resp.StatusCode != http.StatusCreated {
t.Fatal("Can't create order:", resp.Status)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment