MCPcopy Create free account
hub / github.com/Driver-C/tryssh / TestCreateController_ExecuteCreate_NewPort

Function TestCreateController_ExecuteCreate_NewPort

pkg/control/create_test.go:80–87  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

78}
79
80func TestCreateController_ExecuteCreate_NewPort(t *testing.T) {
81 cfg, _ := setupCreateConfig(t)
82
83 ctrl := NewCreateController(TypePorts, "3333", cfg)
84 ctrl.ExecuteCreate()
85
86 assert.Contains(t, cfg.Main.Ports, "3333")
87}
88
89func TestCreateController_ExecuteCreate_Passwords(t *testing.T) {
90 cfg, _ := setupCreateConfig(t)

Callers

nothing calls this directly

Calls 3

ExecuteCreateMethod · 0.95
setupCreateConfigFunction · 0.85
NewCreateControllerFunction · 0.85

Tested by

no test coverage detected