Commit a68812d9 authored by guangxuli's avatar guangxuli

remove the tmp file

parent b60df6c3
......@@ -83,8 +83,9 @@ func TestJwtProvider(t *testing.T) {
if err != nil {
t.Fatalf("Error creating temp file: %v", err)
}
filename := file.Name()
defer os.Remove(filename)
_, err = file.WriteString(jsonKey)
if err != nil {
t.Fatalf("Error writing temp file: %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