un-bypass secretsmanager tests

This commit is contained in:
Megan Marsh 2020-05-21 10:26:34 -07:00 committed by Wilken Rivera
parent 80cd6b4047
commit 4a058dfd19
1 changed files with 2 additions and 2 deletions

View File

@ -115,12 +115,12 @@ func TestGetSecret(t *testing.T) {
got, err := c.GetSecret(test.arg)
if test.ok {
if got != test.want {
t.Logf("want %v, got %v, error %v, using arg %v", test.want, got, err, test.arg)
t.Fatalf("want %v, got %v, error %v, using arg %v", test.want, got, err, test.arg)
}
}
if !test.ok {
if err == nil {
t.Logf("error expected but got %q, using arg %v", err, test.arg)
t.Fatalf("error expected but got %q, using arg %v", err, test.arg)
}
}
t.Logf("arg (%v), want %v, got %v, err %v", test.arg, test.want, got, err)