(t *testing.T)
| 48 | } |
| 49 | |
| 50 | func TestNewProject(t *testing.T) { |
| 51 | a := require.New(t) |
| 52 | msg := &store.ProjectMessage{ |
| 53 | ResourceID: "my-project", |
| 54 | Workspace: "ws-001", |
| 55 | Title: "My Project", |
| 56 | } |
| 57 | got := NewProject(msg) |
| 58 | a.Equal("my-project", got.ResourceID) |
| 59 | a.Equal("ws-001", got.Workspace) |
| 60 | a.Equal("My Project", got.Title) |
| 61 | } |
| 62 | |
| 63 | func TestNewRollout(t *testing.T) { |
| 64 | a := require.New(t) |
nothing calls this directly
no test coverage detected