Skip to content

Commit a2a9bbb

Browse files
Fix customer name in license pact test (#118)
* Fix customer name in license pact test * fix customer name * update custom metrics test --------- Co-authored-by: Craig O'Donnell <[email protected]>
1 parent cf156a3 commit a2a9bbb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pact/custom_metrics_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ func TestSendCustomAppMetrics(t *testing.T) {
3131
customAppMetricsData, _ := json.Marshal(data)
3232
license := &v1beta1.License{
3333
Spec: v1beta1.LicenseSpec{
34-
LicenseID: "sdk-license-customer-0-license",
35-
AppSlug: "sdk-license-app",
34+
LicenseID: "replicated-sdk-license-customer-0-license",
35+
AppSlug: "replicated-sdk-license-app",
3636
Endpoint: fmt.Sprintf("http://%s:%d", pact.Host, pact.Server.Port),
37-
ChannelID: "sdk-license-app-nightly",
37+
ChannelID: "replicated-sdk-license-app-nightly",
3838
},
3939
}
4040

pact/license_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ func TestGetLatestLicense(t *testing.T) {
1616
sdkCustomerLicenseString := `apiVersion: kots.io/v1beta1
1717
kind: License
1818
metadata:
19-
name: sdklicenseappcustomer0
19+
name: replicatedsdklicenseappcustomer0
2020
spec:
2121
licenseID: replicated-sdk-license-customer-0-license
2222
licenseType: trial
23-
customerName: SDK License App Customer 0
23+
customerName: Replicated SDK License App Customer 0
2424
appSlug: replicated-sdk-license-app
2525
channelID: replicated-sdk-license-app-nightly
2626
channelName: Nightly

0 commit comments

Comments
 (0)