Skip to content

Commit

Permalink
Replace wording in test comments
Browse files Browse the repository at this point in the history
replace date with the proper word duration
  • Loading branch information
VoigtS committed Oct 10, 2024
1 parent a7b70f4 commit 3dfb538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/api/commitment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ func Test_UpdateCommitmentDuration(t *testing.T) {
ExpectStatus: http.StatusOK,
}.Check(t, s.Handler)

// Negative: Provided date is invalid
// Negative: Provided duration is invalid
assert.HTTPRequest{
Method: http.MethodPost,
Path: "/v1/domains/uuid-for-germany/projects/uuid-for-berlin/commitments/1/update-duration",
Expand All @@ -1422,7 +1422,7 @@ func Test_UpdateCommitmentDuration(t *testing.T) {
ExpectStatus: http.StatusUnprocessableEntity,
}.Check(t, s.Handler)

// Negative: Provided Date < Commitment Duration
// Negative: Provided duration < Commitment Duration
assert.HTTPRequest{
Method: http.MethodPost,
Path: "/v1/domains/uuid-for-germany/projects/uuid-for-berlin/commitments/1/update-duration",
Expand Down

0 comments on commit 3dfb538

Please sign in to comment.