Skip to content

Commit 49808b1

Browse files
committed
Fix resources tests
1 parent a21f085 commit 49808b1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

provisioner/terraform/resources_test.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ func TestConvertResources(t *testing.T) {
132132
MotdFile: "/etc/motd",
133133
DisplayApps: &displayApps,
134134
Scripts: []*proto.Script{{
135-
DisplayName: "Shutdown Script",
136-
RunOnStop: true,
137-
LogPath: "coder-shutdown-script.log",
138-
Script: "echo bye bye",
139-
TimeoutSeconds: 30,
135+
Icon: "/emojis/25c0.png",
136+
DisplayName: "Shutdown Script",
137+
RunOnStop: true,
138+
LogPath: "coder-shutdown-script.log",
139+
Script: "echo bye bye",
140140
}},
141141
}, {
142142
Name: "dev3",
@@ -307,6 +307,7 @@ func TestConvertResources(t *testing.T) {
307307
DisplayName: "Startup Script",
308308
RunOnStart: true,
309309
LogPath: "coder-startup-script.log",
310+
Icon: "/emojis/25b6.png",
310311
Script: " #!/bin/bash\n # home folder can be empty, so copying default bash settings\n if [ ! -f ~/.profile ]; then\n cp /etc/skel/.profile $HOME\n fi\n if [ ! -f ~/.bashrc ]; then\n cp /etc/skel/.bashrc $HOME\n fi\n # install and start code-server\n curl -fsSL https://code-server.dev/install.sh | sh | tee code-server-install.log\n code-server --auth none --port 13337 | tee code-server-install.log &\n",
311312
}},
312313
}},

0 commit comments

Comments
 (0)