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

Unified Diff: state/api/uniter/unit_test.go

Issue 13430044: state: added status data to status doc
Patch Set: state: added status data to status doc Created 11 years, 6 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
« no previous file with comments | « state/api/uniter/unit.go ('k') | state/apiserver/client/api_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: state/api/uniter/unit_test.go
=== modified file 'state/api/uniter/unit_test.go'
--- state/api/uniter/unit_test.go 2013-09-13 11:35:33 +0000
+++ state/api/uniter/unit_test.go 2013-09-17 18:18:44 +0000
@@ -51,7 +51,7 @@
c.Assert(status, gc.Equals, params.StatusPending)
c.Assert(info, gc.Equals, "")
- err = s.apiUnit.SetStatus(params.StatusStarted, "blah")
+ err = s.apiUnit.SetStatus(params.StatusStarted, "blah", nil)
c.Assert(err, gc.IsNil)
status, info, err = s.wordpressUnit.Status()
@@ -146,7 +146,7 @@
// Change something other than the lifecycle and make sure it's
// not detected.
- err = s.apiUnit.SetStatus(params.StatusStarted, "not really")
+ err = s.apiUnit.SetStatus(params.StatusStarted, "not really", nil)
c.Assert(err, gc.IsNil)
wc.AssertNoChange()
« no previous file with comments | « state/api/uniter/unit.go ('k') | state/apiserver/client/api_test.go » ('j') | no next file with comments »

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