Index: service/user/interface.go |
diff --git a/service/user/interface.go b/service/user/interface.go |
index 4339c820a1ad15185b539d03120ea2718c65a3d5..7233bd4548464716d6b6f93943fda91259459198 100644 |
--- a/service/user/interface.go |
+++ b/service/user/interface.go |
@@ -16,4 +16,10 @@ type Interface interface { |
LogoutURL(dest string) (string, error) |
OAuthConsumerKey() (string, error) |
+ |
+ // If this implementation supports it, this will return an instance of the |
+ // Testing object for this service, which will let you 'log in' virtual users |
+ // in your test cases. If the implementation doesn't support it, it will |
+ // return nil. |
+ Testing() Testing |
} |