Skip to content

Commit

Permalink
small fix for the last_login_utc test
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Sep 19, 2024
1 parent f65c3c3 commit 3592033
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions application/features/user.feature
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ Feature: User

Scenario: update the last_login_utc of an existing user
Given the requester is authorized
And I add a user with a employee_id of 123
When I request "/user/123/update-last-login" be updated
#And a record exists with an employee_id of "123"
Then the response status code should be 200
And last_login_utc should be stored as now UTC
And a record exists with a employee_id of "123"
And the only property to change should be last_login_utc
And I add a user with a employee_id of "123"
And a record exists with an employee_id of "123"
When I request "/user/123/update-last-login" be updated
Then the response status code should be "200"
And a record exists with an employee_id of "123"
And last_login_utc should be stored as now UTC
And the only property to change should be last_login_utc
#* @Then /^a record exists with (?:a|an) (.*) of "?([^"]*)"?$/

Scenario: Deactivate an existing user
Expand Down

0 comments on commit 3592033

Please sign in to comment.