mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-09 20:10:25 +08:00
实现基本的集群DNS列表、设置、简单数据同步
This commit is contained in:
@@ -29,21 +29,6 @@ func TestAdminService_Login(t *testing.T) {
|
||||
a.LogJSON(resp)
|
||||
}
|
||||
|
||||
func TestAdminService_CreateLog(t *testing.T) {
|
||||
service := &AdminService{debug: true}
|
||||
|
||||
resp, err := service.CreateAdminLog(testCtx(t), &pb.CreateAdminLogRequest{
|
||||
Level: "info",
|
||||
Description: "这是一个测试日志",
|
||||
Action: "/login",
|
||||
Ip: "127.0.0.1",
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(resp)
|
||||
}
|
||||
|
||||
func TestAdminService_FindAdminFullname(t *testing.T) {
|
||||
service := &AdminService{
|
||||
debug: true,
|
||||
|
||||
Reference in New Issue
Block a user