Implement platform management features
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"browser.local/platform/domain"
|
||||
"browser.local/platform/dto"
|
||||
@@ -67,6 +68,8 @@ func TestRunChannelAPIInterleavedRequestsMutateIndependentState(t *testing.T) {
|
||||
|
||||
logBatch := validLogBatchRequest(t, hello.SessionToken, 1, 1)
|
||||
logBatch.LogStreamID = "log-channel-isolation"
|
||||
logBatch.LogSessionID = ""
|
||||
logBatch.SessionStartedAt = time.Time{}
|
||||
logRecorder := performJSON(t, router, http.MethodPost, "/api/v1/run/logs/batches", logBatch)
|
||||
assertStatus(t, logRecorder, http.StatusOK)
|
||||
logAck := decodeBody[dto.LogBatchIngestResponse](t, logRecorder)
|
||||
|
||||
Reference in New Issue
Block a user