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

Unified Diff: state/conn_test.go

Issue 61620043: Started working on add/remove user support
Patch Set: Started working on add/remove user support Created 11 years 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
« no previous file with comments | « state/apiserver/usermanager/usermanager_test.go ('k') | state/megawatcher_internal_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: state/conn_test.go
=== modified file 'state/conn_test.go'
--- state/conn_test.go 2014-03-12 05:11:54 +0000
+++ state/conn_test.go 2014-03-13 13:42:50 +0000
@@ -59,7 +59,7 @@
cs.services = cs.MgoSuite.Session.DB("juju").C("services")
cs.units = cs.MgoSuite.Session.DB("juju").C("units")
cs.stateServers = cs.MgoSuite.Session.DB("juju").C("stateServers")
- cs.State.AddUser("admin", "pass")
+ cs.State.AddUser(state.AdminUser, "pass")
}
func (cs *ConnSuite) TearDownTest(c *gc.C) {
« no previous file with comments | « state/apiserver/usermanager/usermanager_test.go ('k') | state/megawatcher_internal_test.go » ('j') | no next file with comments »

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