Skip to content

Commit

Permalink
chore:remove redundant parentheses (argoproj#11436)
Browse files Browse the repository at this point in the history
Signed-off-by: mabing <[email protected]>

Signed-off-by: mabing <[email protected]>
Co-authored-by: mabing <[email protected]>
  • Loading branch information
usernameisnull and mabing authored Nov 26, 2022
1 parent ba8931b commit 752bc5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/project_management_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,9 @@ func TestUseJWTToken(t *testing.T) {

roleGetResult, err = fixture.RunCli("proj", "role", "get", projectName, roleName)
assert.NoError(t, err)
assert.True(t, strings.Contains(roleGetResult, strconv.FormatInt((newProj.Status.JWTTokensByRole[roleName].Items[0].IssuedAt), 10)))
assert.True(t, strings.Contains(roleGetResult, strconv.FormatInt(newProj.Status.JWTTokensByRole[roleName].Items[0].IssuedAt, 10)))

_, err = fixture.RunCli("proj", "role", "delete-token", projectName, roleName, strconv.FormatInt((newProj.Status.JWTTokensByRole[roleName].Items[0].IssuedAt), 10))
_, err = fixture.RunCli("proj", "role", "delete-token", projectName, roleName, strconv.FormatInt(newProj.Status.JWTTokensByRole[roleName].Items[0].IssuedAt, 10))
assert.NoError(t, err)
newProj, err = fixture.AppClientset.ArgoprojV1alpha1().AppProjects(fixture.ArgoCDNamespace).Get(context.Background(), projectName, metav1.GetOptions{})
assert.NoError(t, err)
Expand Down

0 comments on commit 752bc5f

Please sign in to comment.