MCPcopy Create free account
hub / github.com/Facets-cloud/flow / TestCmdUpdateTaskStatusInvalid

Function TestCmdUpdateTaskStatusInvalid

internal/app/update_test.go:238–244  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

236}
237
238func TestCmdUpdateTaskStatusInvalid(t *testing.T) {
239 setupFlowRoot(t)
240 seedTask(t, "ut-bad-status")
241 if rc := cmdUpdate([]string{"task", "ut-bad-status", "--status", "blocked"}); rc != 2 {
242 t.Errorf("rc=%d, want 2 for unknown status", rc)
243 }
244}
245
246func TestCmdUpdateTaskAssignee(t *testing.T) {
247 setupFlowRoot(t)

Callers

nothing calls this directly

Calls 3

setupFlowRootFunction · 0.85
seedTaskFunction · 0.85
cmdUpdateFunction · 0.85

Tested by

no test coverage detected