github.com/872409/go-netease-im@v1.0.2-0.20201109080841-fdb3e13691c5/tests/room_test.go (about) 1 package tests 2 3 import ( 4 // "os" 5 "testing" 6 ) 7 8 func TestGetRoomInfo(t *testing.T) { 9 // os.Setenv("HTTP_PROXY", "http://127.0.0.1:8889") 10 // os.Setenv("HTTPS_PROXY", "http://127.0.0.1:8889") 11 t.Log(client.GetRoomInfo("6312415970197875")) 12 } 13 func TestDeleteRoom(t *testing.T) { 14 // os.Setenv("HTTP_PROXY", "http://127.0.0.1:8889") 15 // os.Setenv("HTTPS_PROXY", "http://127.0.0.1:8889") 16 t.Log(client.DeleteRoom("6315744469922172")) 17 }