Cleanup integ. tests, remove Debug()

This commit is contained in:
Denis Arh
2019-09-11 08:27:06 +02:00
parent 8a1a4605ef
commit 2dc003077c
6 changed files with 0 additions and 6 deletions
-1
View File
@@ -98,7 +98,6 @@ func TestChartUpdateForbidden(t *testing.T) {
m := h.repoMakeChart(ns, "some-chart")
h.apiInit().
Debug().
Post(fmt.Sprintf("/namespace/%d/chart/%d", ns.ID, m.ID)).
FormData("name", "changed-name").
Expect(t).
-1
View File
@@ -98,7 +98,6 @@ func TestModuleUpdateForbidden(t *testing.T) {
m := h.repoMakeModule(ns, "some-module")
h.apiInit().
Debug().
Post(fmt.Sprintf("/namespace/%d/module/%d", ns.ID, m.ID)).
FormData("name", "changed-name").
Expect(t).
-1
View File
@@ -85,7 +85,6 @@ func TestNamespaceUpdateForbidden(t *testing.T) {
ns := h.repoMakeNamespace("some-namespace")
h.apiInit().
Debug().
Post(fmt.Sprintf("/namespace/%d", ns.ID)).
FormData("name", "changed-name").
Expect(t).
-1
View File
@@ -98,7 +98,6 @@ func TestPageUpdateForbidden(t *testing.T) {
m := h.repoMakePage(ns, "some-page")
h.apiInit().
Debug().
Post(fmt.Sprintf("/namespace/%d/page/%d", ns.ID, m.ID)).
FormData("title", "changed-name").
Expect(t).
-1
View File
@@ -102,7 +102,6 @@ func TestRoleUpdate(t *testing.T) {
newName := "updated-" + string(rand.Bytes(10))
h.apiInit().
Debug().
Put(fmt.Sprintf("/roles/%d", u.ID)).
FormData("name", newName).
Expect(t).
-1
View File
@@ -106,7 +106,6 @@ func TestUserUpdate(t *testing.T) {
newEmail := "updated-" + u.Email
h.apiInit().
Debug().
Put(fmt.Sprintf("/users/%d", u.ID)).
FormData("email", newEmail).
Expect(t).