all: Refactor preparing configuration (#7127)

This commit is contained in:
Simon Frei
2020-11-20 14:21:54 +01:00
committed by GitHub
parent 641b7aee38
commit 24af89c8e2
19 changed files with 207 additions and 147 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func (validationError) String() string {
func TestReplaceCommit(t *testing.T) {
t.Skip("broken, fails randomly, #3834")
w := wrap("/dev/null", Configuration{Version: 0})
w := wrap("/dev/null", Configuration{Version: 0}, device1)
if w.RawCopy().Version != 0 {
t.Fatal("Config incorrect")
}