]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/server_blackbox_test.go
Remove use of relative paths
[rbdr/mobius] / hotline / server_blackbox_test.go
index b8990adc6fa3456e70691f83d7567e6e53526b1a..09687add34f869f5f5a347946a3c8dd6161c9ba5 100644 (file)
@@ -22,7 +22,7 @@ type testCase struct {
 }
 
 func (tt *testCase) Setup(srv *Server) error {
-       if err := srv.NewUser(tt.account.Login, tt.account.Name, NegatedUserString([]byte(tt.account.Password)), *tt.account.Access); err != nil {
+       if err := srv.NewUser(tt.account.Login, tt.account.Name, string(negateString([]byte(tt.account.Password))), *tt.account.Access); err != nil {
                return err
        }
 
@@ -122,7 +122,6 @@ func TestHandshake(t *testing.T) {
 //     }
 //}
 
-
 func TestNewUser(t *testing.T) {
        srv, _, _ := StartTestServer()
 
@@ -310,8 +309,6 @@ func TestNewUser(t *testing.T) {
        }
 }
 
-
-
 // equal is a utility function used only in tests that determines if transactions are equal enough
 func (t Transaction) equal(otherT Transaction) bool {
        t.ID = []byte{0, 0, 0, 0}