Skip to content

Commit f4d36c4

Browse files
committed
chore: reuse constant
1 parent de2c360 commit f4d36c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

network/network_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func TestNew(t *testing.T) {
3737

3838
nginxC, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{
3939
ContainerRequest: testcontainers.ContainerRequest{
40-
Image: "nginx:alpine",
40+
Image: nginxAlpineImage,
4141
ExposedPorts: []string{
4242
"80/tcp",
4343
},
@@ -275,7 +275,7 @@ func TestNew_withOptions(t *testing.T) {
275275

276276
nginx, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{
277277
ContainerRequest: testcontainers.ContainerRequest{
278-
Image: "nginx:alpine",
278+
Image: nginxAlpineImage,
279279
ExposedPorts: []string{
280280
"80/tcp",
281281
},

0 commit comments

Comments
 (0)