remove logic
This commit is contained in:
@@ -67,4 +67,4 @@ func (t *TargetService) Remove(target *Target) (string, error) {
|
||||
}
|
||||
|
||||
return out, nil
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,11 +50,10 @@ func TestTargetRead(t *testing.T) {
|
||||
t.Log(res)
|
||||
}
|
||||
|
||||
|
||||
func TestTargetDelete(t *testing.T) {
|
||||
ts := NewTargetService()
|
||||
target := &Target{
|
||||
Id:"1",
|
||||
Id: "1",
|
||||
}
|
||||
res, err := ts.Remove(target)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user