mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-25 06:49:23 +01:00
chore: improves tests
This commit is contained in:
@@ -21,7 +21,7 @@ import (
|
||||
)
|
||||
|
||||
func Test_handler_streamLogs_happy(t *testing.T) {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
ctx, cancel := context.WithCancel(t.Context())
|
||||
|
||||
id := "123456"
|
||||
req, err := http.NewRequestWithContext(ctx, "GET", "/api/hosts/localhost/containers/"+id+"/logs/stream", nil)
|
||||
|
||||
Reference in New Issue
Block a user