Commit 6070eaa2 authored by vicotor's avatar vicotor

update test

parent 2e93fa3a
......@@ -3,7 +3,7 @@ package caddy
import "testing"
func TestCaddyAPI_CreateWebsite(t *testing.T) {
caddyAPI := NewCaddyAPI("http://3.114.44.103:32019", "/home/ubuntu/caddy")
caddyAPI := NewCaddyAPI("http://3.114.44.103:32019", "/home/ubuntu/caddy", "bitheart.io")
err := caddyAPI.CreateWebsite("mp4.bitheart.io", "")
if err != nil {
t.Errorf("CreateWebsite() error = %v", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment