update:csrf test import
package csrf
import (
- "github.com/stretchr/testify/assert"
"io/ioutil"
"net/http"
"strings"
@@ -26,6 +25,10 @@ import (
"time"
)
+import (
+ "github.com/stretchr/testify/assert"
+)
+
func TestCsrfHeader(t *testing.T) {
urlStr := "http://localhost:8888/user/"
client := &http.Client{Timeout: 5 * time.Second}
