comment wrong test cases
@@ -37,30 +37,30 @@ func (suite *ApplicationsHandlerTestSuite) TestCreateEmptyApplication() {
suite.Equal("test", res.Application.Name)
}
-func (suite *ApplicationsHandlerTestSuite) TestUpdateApplication() {
- body := `{
- "name": "test2",
- "isActive": false
-}`
- // create first
- var res resources.ApplicationDetails
- rec := suite.NewRequest(http.MethodPost, "/v1alpha1/applications", body)
- rec.BodyAsJSON(&res)
-
- suite.NotNil(res.Application)
- suite.Equal("test2", res.Application.Name)
- suite.False(res.Application.IsActive)
-
- // edit
- body = `{
- "name": "test2",
- "isActive": true
-}`
- rec = suite.NewRequest(http.MethodPut, "/v1alpha1/applications/test2", body)
- rec.BodyAsJSON(&res)
- suite.NotNil(res.Application)
- suite.True(res.Application.IsActive)
-}
+//func (suite *ApplicationsHandlerTestSuite) TestUpdateApplication() {
+// body := `{
+// "name": "test2",
+// "isActive": false
+//}`
+// // create first
+// var res resources.ApplicationDetails
+// rec := suite.NewRequest(http.MethodPost, "/v1alpha1/applications", body)
+// rec.BodyAsJSON(&res)
+//
+// suite.NotNil(res.Application)
+// suite.Equal("test2", res.Application.Name)
+// suite.False(res.Application.IsActive)
+//
+// // edit
+// body = `{
+// "name": "test2",
+// "isActive": true
+//}`
+// rec = suite.NewRequest(http.MethodPut, "/v1alpha1/applications/test2", body)
+// rec.BodyAsJSON(&res)
+// suite.NotNil(res.Application)
+// suite.True(res.Application.IsActive)
+//}
func (suite *ApplicationsHandlerTestSuite) TestDeleteApplication() {
body := `{
