Skip to content

Commit

Permalink
refactor fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored and rfay committed Mar 28, 2024
1 parent 349acce commit 9785509
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/ddev/cmd/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ func TestConfigDatabaseVersion(t *testing.T) {
// add a database into the config and nothing else
for _, dbTypeVersion := range versionsToTest {
_ = app.Stop(true, false)
_, err := exec.RunHostCommand(DdevBin, "delete", "-Oy", t.Name())
assert.NoError(err)
parts := strings.Split(dbTypeVersion, ":")
err = os.RemoveAll(filepath.Join(testDir, ".ddev"))
assert.NoError(err)
Expand Down

0 comments on commit 9785509

Please sign in to comment.