chore: move to Traefik organization.

Co-authored-by: Romain <rtribotte@users.noreply.github.com>
This commit is contained in:
Jean-Baptiste Doumenjou 2020-09-16 15:46:04 +02:00 committed by GitHub
parent 9df89e66e3
commit c0f1e74bed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
421 changed files with 5213 additions and 5234 deletions

View file

@ -27,9 +27,9 @@ func TestGetName(t *testing.T) {
},
{
desc: "with backend name, with cookie name",
cookieName: "containous",
backendName: "treafik",
expectedCookieName: "containous",
cookieName: "cookie",
backendName: "backend",
expectedCookieName: "cookie",
},
}
@ -76,8 +76,8 @@ func Test_sanitizeName(t *testing.T) {
}
func TestGenerateName(t *testing.T) {
cookieName := GenerateName("containous")
cookieName := GenerateName("backend")
assert.Len(t, "_8a7bc", 6)
assert.Equal(t, "_8a7bc", cookieName)
assert.Len(t, "_76eb3", 6)
assert.Equal(t, "_76eb3", cookieName)
}