mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-23 02:42:20 +00:00
15 lines
241 B
Go
15 lines
241 B
Go
package bypass
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestBypassLogin(t *testing.T) {
|
|
backend, _ := New()
|
|
ok, err := backend.Login("demo", "demo")
|
|
if !ok {
|
|
t.Error("Error while logging with the bypass authentication:", err)
|
|
}
|
|
backend.Close()
|
|
}
|