(t *testing.T)
| 87 | } |
| 88 | |
| 89 | func TestCreateController_ExecuteCreate_Passwords(t *testing.T) { |
| 90 | cfg, _ := setupCreateConfig(t) |
| 91 | |
| 92 | ctrl := NewCreateController(TypePasswords, "newpass", cfg) |
| 93 | ctrl.ExecuteCreate() |
| 94 | |
| 95 | assert.Contains(t, cfg.Main.Passwords, "newpass") |
| 96 | } |
| 97 | |
| 98 | func TestCreateController_ExecuteCreate_Passwords_Duplicate(t *testing.T) { |
| 99 | cfg, _ := setupCreateConfig(t) |
nothing calls this directly
no test coverage detected