Add internal mock modules

This commit is contained in:
Ingo Oppermann
2024-10-29 14:55:55 +01:00
parent 2ee7fa7e41
commit de9a30a108
13 changed files with 299 additions and 246 deletions

View File

@@ -6,6 +6,7 @@ import (
"github.com/datarhei/core/v16/http/api"
"github.com/datarhei/core/v16/http/mock"
"github.com/datarhei/core/v16/internal/mock/restream"
"github.com/stretchr/testify/require"
"github.com/labstack/echo/v4"
@@ -14,7 +15,7 @@ import (
func getDummyAboutRouter() (*echo.Echo, error) {
router := mock.DummyEcho()
rs, err := mock.DummyRestreamer("../../mock")
rs, err := restream.New(nil, nil, nil, nil)
if err != nil {
return nil, err
}