Skip to content

Commit a7f52e8

Browse files
committed
fix test
1 parent 0f7ee10 commit a7f52e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

env0/data_api_key_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package env0
22

33
import (
4-
"fmt"
54
"regexp"
65
"testing"
76

@@ -100,7 +99,7 @@ func TestApiKeyDataSource(t *testing.T) {
10099

101100
t.Run("Throw error when by id and no api key found with that id", func(t *testing.T) {
102101
runUnitTest(t,
103-
getErrorTestCase(apiKeyFieldsById, fmt.Sprintf("id %s not found", apiKey.Id)),
102+
getErrorTestCase(apiKeyFieldsById, "not found"),
104103
mockListApiKeysCall([]client.ApiKey{otherApiKey}),
105104
)
106105
})

0 commit comments

Comments
 (0)