diff options
Diffstat (limited to 'data/datasource_awssmp_test.go')
| -rw-r--r-- | data/datasource_awssmp_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/datasource_awssmp_test.go b/data/datasource_awssmp_test.go index 3c14e325..7fac1084 100644 --- a/data/datasource_awssmp_test.go +++ b/data/datasource_awssmp_test.go @@ -71,7 +71,7 @@ func TestAWSSMP_GetParameterSetup(t *testing.T) { }, }) - _, err := readAWSSMP(s, "/bar") + _, err := readAWSSMP(context.Background(), s, "/bar") assert.True(t, calledOk) assert.Nil(t, err) } @@ -88,7 +88,7 @@ func TestAWSSMP_GetParameterValidOutput(t *testing.T) { param: expected, }) - output, err := readAWSSMP(s, "") + output, err := readAWSSMP(context.Background(), s, "") assert.Nil(t, err) actual := &ssm.Parameter{} err = json.Unmarshal(output, &actual) @@ -104,7 +104,7 @@ func TestAWSSMP_GetParameterMissing(t *testing.T) { err: expectedErr, }) - _, err := readAWSSMP(s, "") + _, err := readAWSSMP(context.Background(), s, "") assert.Error(t, err, "Test of error message") } |
