-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: daveaugustus <[email protected]>
- Loading branch information
daveaugustus
committed
Sep 5, 2024
1 parent
c14efd5
commit f7e98b6
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ import ( | |
"os" | ||
"testing" | ||
|
||
"github.com/bmizerany/assert" | ||
"github.com/stretchr/testify/require" | ||
|
||
"github.com/chef/automate/components/trial-license-service/pkg/client" | ||
|
@@ -64,8 +65,8 @@ func TestClientAndServer(t *testing.T) { | |
cl := client.New(u) | ||
lic, err := cl.RequestTrialLicense(ctx, first, last, email, gdprAgree, deploymentID, automateVersion) | ||
_ = lic | ||
// require.NoError(t, err) | ||
// assert.Equal(t, licenseData, lic) | ||
require.NoError(t, err) | ||
assert.Equal(t, licenseData, lic) | ||
|
||
// assert.Equal(t, "Gonzo the Great <[email protected]> - TRIAL", m["customer"]) | ||
assert.Equal(t, "Gonzo the Great <[email protected]> - TRIAL", m["customer"]) | ||
} |