@@ -98,28 +98,8 @@ var _ = Describe("kots apps", func() {
98
98
` )
99
99
})
100
100
})
101
- Context ("replicated app create" , func () {
102
- It ("should create an app" , func () {
103
- newName := mustToken (8 )
104
- var stdout bytes.Buffer
105
- var stderr bytes.Buffer
106
-
107
- rootCmd := cmd .GetRootCmd ()
108
- rootCmd .SetArgs ([]string {"app" , "create" , newName })
109
-
110
- err = cmd .Execute (rootCmd , nil , & stdout , & stderr )
111
- req .NoError (err )
112
-
113
- req .Empty (stderr .String (), "Expected no stderr output" )
114
- req .NotEmpty (stdout .String (), "Expected stdout output" )
115
-
116
- req .Contains (stdout .String (), newName )
117
- req .Contains (stdout .String (), "kots" )
118
- })
119
- })
120
-
121
- Context ("replicated app delete" , func () {
122
- It ("should delete an app" , func () {
101
+ Context ("replicated app create & replicated app delete" , func () {
102
+ It ("should create and then delete an app" , func () {
123
103
newName := mustToken (8 )
124
104
newName = strings .ReplaceAll (newName , "_" , "-" )
125
105
newName = strings .ReplaceAll (newName , "=" , "-" )
0 commit comments