15 lines
269 B
Go
15 lines
269 B
Go
package backend
|
|
|
|
import "testing"
|
|
|
|
func TestRegisterOrganizationRoutes(t *testing.T) {
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
t.Fatalf("注册组织架构路由失败: %v", r)
|
|
}
|
|
}()
|
|
|
|
registerOrganizationRoutes("erp")
|
|
registerOrganizationRoutes("oa")
|
|
}
|