File tree Expand file tree Collapse file tree 4 files changed +4
-13
lines changed Expand file tree Collapse file tree 4 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ describe("local-windows-rdp", async () => {
73
73
expect ( app ) . not . toBeNull ( ) ;
74
74
expect ( app ?. slug ) . toBe ( "rdp-desktop" ) ;
75
75
expect ( app ?. display_name ) . toBe ( "RDP Desktop" ) ;
76
- expect ( app ?. icon ) . toBe ( "/icon/desktop .svg" ) ;
76
+ expect ( app ?. icon ) . toBe ( "/icon/rdp .svg" ) ;
77
77
expect ( app ?. external ) . toBe ( true ) ;
78
78
79
79
// Verify the URI format
@@ -95,7 +95,7 @@ describe("local-windows-rdp", async () => {
95
95
// Verify the script was created
96
96
expect ( script ) . not . toBeNull ( ) ;
97
97
expect ( script ?. display_name ) . toBe ( "Configure RDP" ) ;
98
- expect ( script ?. icon ) . toBe ( "/icon/desktop .svg" ) ;
98
+ expect ( script ?. icon ) . toBe ( "/icon/rdp .svg" ) ;
99
99
expect ( script ?. run_on_start ) . toBe ( true ) ;
100
100
expect ( script ?. run_on_stop ) . toBe ( false ) ;
101
101
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ module "windows_rdp" {
18
18
source = "registry.coder.com/coder/windows-rdp/coder"
19
19
version = "1.2.2"
20
20
agent_id = resource.coder_agent.main.id
21
- resource_id = resource.aws_instance.dev.id
22
21
}
23
22
```
24
23
@@ -36,7 +35,6 @@ module "windows_rdp" {
36
35
source = "registry.coder.com/coder/windows-rdp/coder"
37
36
version = "1.2.2"
38
37
agent_id = resource.coder_agent.main.id
39
- resource_id = resource.aws_instance.dev.id
40
38
}
41
39
```
42
40
@@ -48,7 +46,6 @@ module "windows_rdp" {
48
46
source = "registry.coder.com/coder/windows-rdp/coder"
49
47
version = "1.2.2"
50
48
agent_id = resource.coder_agent.main.id
51
- resource_id = resource.google_compute_instance.dev[0].id
52
49
}
53
50
```
54
51
@@ -60,7 +57,6 @@ module "windows_rdp" {
60
57
source = "registry.coder.com/coder/windows-rdp/coder"
61
58
version = "1.2.2"
62
59
agent_id = resource.coder_agent.main.id
63
- resource_id = resource.aws_instance.dev.id
64
- devolutions_gateway_version = "2025.1.6" # Specify a specific version
60
+ devolutions_gateway_version = "2025.2.2" # Specify a specific version
65
61
}
66
62
```
Original file line number Diff line number Diff line change 8
8
9
9
type TestVariables = Readonly < {
10
10
agent_id : string ;
11
- resource_id : string ;
12
11
share ?: string ;
13
12
admin_username ?: string ;
14
13
admin_password ?: string ;
@@ -45,13 +44,11 @@ describe("Web RDP", async () => {
45
44
await runTerraformInit ( import . meta. dir ) ;
46
45
testRequiredVariables < TestVariables > ( import . meta. dir , {
47
46
agent_id : "foo" ,
48
- resource_id : "bar" ,
49
47
} ) ;
50
48
51
49
it ( "Has the PowerShell script install Devolutions Gateway" , async ( ) => {
52
50
const state = await runTerraformApply < TestVariables > ( import . meta. dir , {
53
51
agent_id : "foo" ,
54
- resource_id : "bar" ,
55
52
} ) ;
56
53
57
54
const lines = findWindowsRdpScript ( state )
@@ -96,7 +93,6 @@ describe("Web RDP", async () => {
96
93
import . meta. dir ,
97
94
{
98
95
agent_id : "foo" ,
99
- resource_id : "bar" ,
100
96
} ,
101
97
) ;
102
98
@@ -116,7 +112,6 @@ describe("Web RDP", async () => {
116
112
import . meta. dir ,
117
113
{
118
114
agent_id : "foo" ,
119
- resource_id : "bar" ,
120
115
admin_username : customAdminUsername ,
121
116
admin_password : customAdminPassword ,
122
117
} ,
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ variable "admin_password" {
48
48
49
49
variable "devolutions_gateway_version" {
50
50
type = string
51
- default = " 2025.2.1 "
51
+ default = " 2025.2.2 "
52
52
description = " Version of Devolutions Gateway to install. Defaults to the latest available version."
53
53
}
54
54
You can’t perform that action at this time.
0 commit comments