File tree Expand file tree Collapse file tree
examples/single-file-app-example/hooks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111 "github.com/deckhouse/module-sdk/pkg"
1212 "github.com/deckhouse/module-sdk/testing/mock"
1313
14- singlefileexample "singlefileexample "
14+ singlefileappexample "singlefileappexample "
1515)
1616
1717const (
@@ -21,7 +21,7 @@ const (
2121
2222var _ = Describe ("handle hook single file example" , func () {
2323 snapshots := mock .NewSnapshotsMock (GinkgoT ())
24- snapshots .GetMock .When (singlefileexample .SnapshotKey ).Then (
24+ snapshots .GetMock .When (singlefileappexample .SnapshotKey ).Then (
2525 []pkg.Snapshot {
2626 mock .NewSnapshotMock (GinkgoT ()).UnmarshalToMock .Set (func (v any ) error {
2727 str := v .(* string )
@@ -49,7 +49,7 @@ var _ = Describe("handle hook single file example", func() {
4949
5050 Context ("reconcile func" , func () {
5151 It ("reconcile func executed correctly" , func () {
52- err := singlefileexample .Handle (context .Background (), input )
52+ err := singlefileappexample .Handle (context .Background (), input )
5353 Expect (err ).ShouldNot (HaveOccurred ())
5454 })
5555 })
You can’t perform that action at this time.
0 commit comments