Skip to content

Commit c5edd24

Browse files
committed
Rename the real API test to be consistent with the mock API test
Signed-off-by: Richard Wall <[email protected]>
1 parent 9afa248 commit c5edd24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/internal/cyberark/dataupload/dataupload_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
_ "k8s.io/klog/v2/ktesting/init"
2222
)
2323

24-
func TestCyberArkClient_PostDataReadingsWithOptions(t *testing.T) {
24+
func TestCyberArkClient_PostDataReadingsWithOptions_MockAPI(t *testing.T) {
2525
fakeTime := time.Unix(123, 0)
2626
defaultPayload := api.DataReadingsPost{
2727
AgentMetadata: &api.AgentMetadata{
@@ -135,8 +135,8 @@ func TestCyberArkClient_PostDataReadingsWithOptions(t *testing.T) {
135135
// To enable verbose request logging:
136136
//
137137
// go test ./pkg/internal/cyberark/dataupload/... \
138-
// -v -count 1 -run TestPostDataReadingsWithOptionsWithRealAPI -args -testing.v 6
139-
func TestPostDataReadingsWithOptionsWithRealAPI(t *testing.T) {
138+
// -v -count 1 -run TestCyberArkClient_PostDataReadingsWithOptions_RealAPI -args -testing.v 6
139+
func TestCyberArkClient_PostDataReadingsWithOptions_RealAPI(t *testing.T) {
140140
platformDomain := os.Getenv("ARK_PLATFORM_DOMAIN")
141141
subdomain := os.Getenv("ARK_SUBDOMAIN")
142142
username := os.Getenv("ARK_USERNAME")

0 commit comments

Comments
 (0)