Prepare to merge master

This commit is contained in:
Héctor Hurtado
2019-10-08 09:40:51 +02:00
parent 7fdef70e39
commit bb0a283813
2 changed files with 9 additions and 54 deletions
+1 -17
View File
@@ -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")
}
}