MCPcopy Create free account
hub / github.com/cli/cli / TestNewOwner_nonTTY

Function TestNewOwner_nonTTY

pkg/cmd/project/shared/queries/queries_test.go:604–609  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

602}
603
604func TestNewOwner_nonTTY(t *testing.T) {
605 client := NewTestClient()
606 _, err := client.NewOwner(false, "")
607 assert.EqualError(t, err, "owner is required when not running interactively")
608
609}
610
611func TestProjectItems_FieldTitle(t *testing.T) {
612 defer gock.Off()

Callers

nothing calls this directly

Calls 2

NewOwnerMethod · 0.80
NewTestClientFunction · 0.70

Tested by

no test coverage detected