Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
  • Loading branch information
unguiculus committed Apr 24, 2020
1 parent 34a2c3f commit 4eb75d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/sopssecret/sopssecret_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func TestCreate(t *testing.T) {
secret := &corev1.Secret{}
err = r.client.Get(context.Background(), req.NamespacedName, secret)
require.NoError(t, err)
assert.Equal(t, secret.Data["test.yaml"], []byte("dW5lbmNyeXB0ZWQ="))
assert.Equal(t, secret.Data["test.yaml"], []byte("unencrypted"))
event := <-recorder.Events
assert.Equal(t, event, "Normal Created Created secret: test-secret")
}
Expand Down

0 comments on commit 4eb75d3

Please sign in to comment.