add delete command
This commit is contained in:
parent
293a9e0aba
commit
1a101faaae
4 changed files with 76 additions and 0 deletions
|
@ -13,6 +13,8 @@ func testWithServer(h http.HandlerFunc, testFunc func(*cli.App)) string {
|
|||
ts := httptest.NewServer(h)
|
||||
defer ts.Close()
|
||||
|
||||
cli.OsExiter = func(n int) {}
|
||||
|
||||
client := mastodon.NewClient(&mastodon.Config{
|
||||
Server: ts.URL,
|
||||
ClientID: "foo",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue