aboutsummaryrefslogblamecommitdiffstats
path: root/bridge/core/auth/login_test.go
blob: 3fc4a391a751d5cd396fafec0b06bfdd4663e90f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                              
package auth

import (
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestLoginSerial(t *testing.T) {
	original := NewLogin("github", "jean")
	loaded := testCredentialSerial(t, original)
	assert.Equal(t, original.Login, loaded.(*Login).Login)
}