mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
Fix tests
This commit is contained in:
@@ -182,7 +182,7 @@ func TestRekey_status(t *testing.T) {
|
||||
t.Fatalf("bad: %d\n\n%s", code, ui.ErrorWriter.String())
|
||||
}
|
||||
|
||||
if !strings.Contains(string(ui.OutputWriter.Bytes()), "Started: true") {
|
||||
if !strings.Contains(ui.OutputWriter.String(), "Started: true") {
|
||||
t.Fatalf("bad: %s", ui.OutputWriter.String())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user