Remove empty BeforeEach and AfterEach from e2e tests

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-02-12 20:08:38 -03:00
parent b37270bdde
commit 0197ea0dc4
52 changed files with 0 additions and 178 deletions

View file

@ -30,12 +30,6 @@ import (
var _ = framework.IngressNginxDescribe("Default backend", func() {
f := framework.NewDefaultFramework("default-backend")
BeforeEach(func() {
})
AfterEach(func() {
})
It("should return 404 sending requests when only a default backend is running", func() {
testCases := []struct {
Name string

View file

@ -29,12 +29,6 @@ import (
var _ = framework.IngressNginxDescribe("Default backend - SSL", func() {
f := framework.NewDefaultFramework("default-backend")
BeforeEach(func() {
})
AfterEach(func() {
})
It("should return a self generated SSL certificate", func() {
By("checking SSL Certificate using the NGINX IP address")
resp, _, errs := gorequest.New().

View file

@ -38,9 +38,6 @@ var _ = framework.IngressNginxDescribe("Default backend with hosts", func() {
f.NewEchoDeploymentWithReplicas(1)
})
AfterEach(func() {
})
It("should apply the annotation to the default backend", func() {
annotations := map[string]string{
"nginx.ingress.kubernetes.io/proxy-buffer-size": "8k",