Skip to content

Commit

Permalink
update messages in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Jun 4, 2021
1 parent 1ac1393 commit 1f05c7d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/cmd/flags_test.go
Expand Up @@ -47,7 +47,7 @@ func TestGetLatestActiveVersion(t *testing.T) {
{Number: 2, Active: false, UpdatedAt: testutil.MustParseTimeRFC3339("2000-01-02T01:00:00Z")},
{Number: 3, Active: false, UpdatedAt: testutil.MustParseTimeRFC3339("2000-01-03T01:00:00Z")},
},
wantError: "error locating latest active service version",
wantError: "no active service version found",
},
} {
t.Run(testcase.name, func(t *testing.T) {
Expand Down Expand Up @@ -147,8 +147,7 @@ func TestGetSpecifiedVersion(t *testing.T) {
{Number: 2, Active: false, Locked: true, UpdatedAt: testutil.MustParseTimeRFC3339("2000-02-02T01:00:00Z")},
{Number: 3, Active: true, UpdatedAt: testutil.MustParseTimeRFC3339("2000-03-03T01:00:00Z")},
},
wantVersion: 4,
wantError: "error getting specified service version: 4",
wantError: "specified service version not found: 4",
},
} {
t.Run(testcase.name, func(t *testing.T) {
Expand Down

0 comments on commit 1f05c7d

Please sign in to comment.