mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-13 14:59:03 +00:00
Added public project attribute & worker access api endpoints
This commit is contained in:
@@ -19,6 +19,7 @@ func TestCreateGetProject(t *testing.T) {
|
||||
Version: "Test Version",
|
||||
Priority: 123,
|
||||
Motd: "motd",
|
||||
Public: true,
|
||||
})
|
||||
|
||||
id := resp.Id
|
||||
@@ -56,6 +57,9 @@ func TestCreateGetProject(t *testing.T) {
|
||||
if getResp.Project.Motd != "motd" {
|
||||
t.Error()
|
||||
}
|
||||
if getResp.Project.Public != true {
|
||||
t.Error()
|
||||
}
|
||||
}
|
||||
|
||||
func TestCreateProjectInvalid(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user