Skip to content

Commit

Permalink
refactor: remove forgotten references to dropped status type
Browse files Browse the repository at this point in the history
  • Loading branch information
nikoksr committed Jun 18, 2020
1 parent 81dced2 commit c11771d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pkg/proji/storage/item/project_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,15 @@ import (

func TestNewProject(t *testing.T) {
class := NewClass("testclass", "tc", false)
status := NewStatus(9999, "test", "This is a test status.", false)

projExp := &Project{
ID: 99,
Name: "test",
InstallPath: "./local/",
Class: class,
Status: status,
}

projAct := NewProject(99, "test", "./local/", class, status)
projAct := NewProject(99, "test", "./local/", class)
assert.Equal(t, projExp, projAct)
}

Expand Down Expand Up @@ -68,11 +66,6 @@ func TestProject_Create(t *testing.T) {
},
Scripts: make([]*Script, 0),
},
Status: &Status{
ID: 1,
Title: "active",
Comment: "This project is active.",
},
},
err: nil,
},
Expand Down

0 comments on commit c11771d

Please sign in to comment.