Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7)

Unified Diff: state/apiserver/client/api_test.go

Issue 12551043: state: implement the single FindEntity method
Patch Set: state: implement the single FindEntity method Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: state/apiserver/client/api_test.go
=== modified file 'state/apiserver/client/api_test.go'
--- state/apiserver/client/api_test.go 2013-08-02 14:06:24 +0000
+++ state/apiserver/client/api_test.go 2013-08-06 17:48:03 +0000
@@ -81,7 +81,7 @@
// SetPassword and Tag methods. This will fit types from both the state
// and api packages, as those in the api package do not have PasswordValid().
type apiAuthenticator interface {
- state.Tagger
+ state.Entity
SetPassword(string) error
}
@@ -192,7 +192,7 @@
// environment manager (bootstrap machine), so is
// hopefully easier to remember as such.
func (s *baseSuite) setUpScenario(c *C) (entities []string) {
- add := func(e state.Tagger) {
+ add := func(e state.Entity) {
entities = append(entities, e.Tag())
}
u, err := s.State.User("admin")

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b