mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-05 09:30:26 +08:00
16 lines
348 B
Go
16 lines
348 B
Go
|
|
package checkpoints
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/TeaOSLab/EdgeNode/internal/waf/requests"
|
||
|
|
"net/http"
|
||
|
|
"testing"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestResponseStatusCheckpoint_ResponseValue(t *testing.T) {
|
||
|
|
resp := requests.NewResponse(new(http.Response))
|
||
|
|
resp.StatusCode = 200
|
||
|
|
|
||
|
|
checkpoint := new(ResponseStatusCheckpoint)
|
||
|
|
t.Log(checkpoint.ResponseValue(nil, resp, "", nil))
|
||
|
|
}
|