@@ -3,7 +3,10 @@ package commands_test
33import (
44 "errors"
55 "fmt"
6+ "os"
67
8+ "code.cloudfoundry.org/cli/cf/api/apifakes"
9+ "code.cloudfoundry.org/cli/cf/api/stacks/stacksfakes"
710 "code.cloudfoundry.org/cli/cf/commandregistry"
811 "code.cloudfoundry.org/cli/cf/commands"
912 "code.cloudfoundry.org/cli/cf/configuration/coreconfig"
@@ -12,16 +15,10 @@ import (
1215 "code.cloudfoundry.org/cli/cf/models"
1316 "code.cloudfoundry.org/cli/cf/requirements"
1417 "code.cloudfoundry.org/cli/cf/requirements/requirementsfakes"
15-
16- "code.cloudfoundry.org/cli/cf/api/apifakes"
17- "code.cloudfoundry.org/cli/cf/api/stacks/stacksfakes"
1818 testconfig "code.cloudfoundry.org/cli/cf/util/testhelpers/configuration"
19- testterm "code.cloudfoundry.org/cli/cf/util/testhelpers/terminal"
20-
21- "os"
22-
2319 . "code.cloudfoundry.org/cli/cf/util/testhelpers/matchers"
24- uuid "github.com/nu7hatch/gouuid"
20+ testterm "code.cloudfoundry.org/cli/cf/util/testhelpers/terminal"
21+ uuid "github.com/google/uuid"
2522 . "github.com/onsi/ginkgo/v2"
2623 . "github.com/onsi/gomega"
2724)
@@ -47,8 +44,7 @@ var _ = Describe("CreateAppManifest", func() {
4744 )
4845
4946 BeforeEach (func () {
50- rand , err := uuid .NewV4 ()
51- Expect (err ).ToNot (HaveOccurred ())
47+ rand := uuid .New ()
5248 appName = fmt .Sprintf ("app-name-%s" , rand )
5349 ui = & testterm.FakeUI {}
5450 configRepo = testconfig .NewRepositoryWithDefaults ()
0 commit comments