mirror of
https://github.com/datarhei/core.git
synced 2025-10-16 04:50:44 +08:00
Add internal mock modules
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user