diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2017-01-16 22:57:26 +0000 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2017-01-16 22:57:26 +0000 |
commit | c598d076f6e09242aa7675d744a0ec5e715caf95 (patch) | |
tree | 3f41f566794003d1f45c693aca77e4c820508ef3 /server/auth/testprovider | |
parent | 17b17fc8bb690d1f6344e5af1c62b3b37166bc48 (diff) |
Update authprovider tests
Diffstat (limited to 'server/auth/testprovider')
-rw-r--r-- | server/auth/testprovider/testprovider.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/auth/testprovider/testprovider.go b/server/auth/testprovider/testprovider.go index 3d2b13a..e30b04a 100644 --- a/server/auth/testprovider/testprovider.go +++ b/server/auth/testprovider/testprovider.go @@ -15,8 +15,10 @@ const ( // Config is an implementation of `auth.Provider` for testing. type Config struct{} +var _ auth.Provider = (*Config)(nil) + // New creates a new provider. -func New() auth.Provider { +func New() *Config { return &Config{} } |