Skip to content

Commit c1f50ce

Browse files
committed
fix: add missing tests & fix wrong image
1 parent f733234 commit c1f50ce

3 files changed

Lines changed: 29 additions & 1 deletion

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package main
2+
3+
import (
4+
"context"
5+
"testing"
6+
7+
"github.com/home-operations/containers/testhelpers"
8+
)
9+
10+
func Test(t *testing.T) {
11+
ctx := context.Background()
12+
image := testhelpers.GetTestImage("ghcr.io/denniseffing/aws-signing-helper:rolling")
13+
testhelpers.TestFileExists(t, ctx, image, "/app/bin/aws-signing-helper", nil)
14+
}

apps/home-assistant/container_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ import (
99

1010
func Test(t *testing.T) {
1111
ctx := context.Background()
12-
image := testhelpers.GetTestImage("ghcr.io/home-operations/home-assistant:rolling")
12+
image := testhelpers.GetTestImage("ghcr.io/denniseffing/home-assistant:rolling")
1313
testhelpers.TestHTTPEndpoint(t, ctx, image, testhelpers.HTTPTestConfig{Port: "8123"}, nil)
1414
}

apps/whisparr-v3/container_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package main
2+
3+
import (
4+
"context"
5+
"testing"
6+
7+
"github.com/home-operations/containers/testhelpers"
8+
)
9+
10+
func Test(t *testing.T) {
11+
ctx := context.Background()
12+
image := testhelpers.GetTestImage("ghcr.io/denniseffing/whisparr-v3:rolling")
13+
testhelpers.TestHTTPEndpoint(t, ctx, image, testhelpers.HTTPTestConfig{Port: "6969"}, nil)
14+
}

0 commit comments

Comments
 (0)