Prepare to merge master
This commit is contained in:
@@ -3,7 +3,7 @@ package server_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/BBVA/kapow/server"
|
||||
"github.com/BBVA/kapow/internal/server"
|
||||
)
|
||||
|
||||
func TestStartServerWhenInvalidBindAddrReturnsError(t *testing.T) {
|
||||
@@ -21,19 +21,3 @@ func TestStartServerWhenInvalidPortNumberReturnsError(t *testing.T) {
|
||||
t.Errorf("Expected error not found")
|
||||
}
|
||||
}
|
||||
|
||||
func TestStartServerWhenCertfileDontExistReturnsError(t *testing.T) {
|
||||
|
||||
err := server.StartServer("0.0.0.0:8080", "/notExist", "", true)
|
||||
if err == nil {
|
||||
t.Errorf("Expected error not found")
|
||||
}
|
||||
}
|
||||
|
||||
func TestStartServerWhenKeyfileDontExistReturnsError(t *testing.T) {
|
||||
|
||||
err := server.StartServer("0.0.0.0:8080", "", "/notExist", true)
|
||||
if err == nil {
|
||||
t.Errorf("Expected error not found")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user