1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00
Files
docs/tuf/testutils/bootstrap.go
David Lawrence edef1cd5c8 tweaking consistent store tests
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2016-04-14 19:38:04 -07:00

14 lines
312 B
Go

package testutils
// TestBootstrapper is a simple implemented of the Bootstrapper interface
// to be used for tests
type TestBootstrapper struct {
Booted bool
}
// Bootstrap sets Booted to true so tests can confirm it was called
func (tb *TestBootstrapper) Bootstrap() error {
tb.Booted = true
return nil
}