@@ -129,7 +129,7 @@ func setupProxyTest(t *testing.T) (*codersdk.Client, uuid.UUID, codersdk.Workspa
129
129
130
130
func TestWorkspaceAppsProxyPath (t * testing.T ) {
131
131
t .Parallel ()
132
- client , orgID , workspace , port := setupProxyTest (t )
132
+ client , orgID , workspace , _ := setupProxyTest (t )
133
133
134
134
t .Run ("LoginWithoutAuth" , func (t * testing.T ) {
135
135
t .Parallel ()
@@ -209,22 +209,6 @@ func TestWorkspaceAppsProxyPath(t *testing.T) {
209
209
require .Equal (t , http .StatusOK , resp .StatusCode )
210
210
})
211
211
212
- t .Run ("ProxiesPort" , func (t * testing.T ) {
213
- t .Parallel ()
214
-
215
- ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
216
- defer cancel ()
217
-
218
- path := fmt .Sprintf ("/@me/%s/apps/%d/?%s" , workspace .Name , port , proxyTestAppQuery )
219
- resp , err := client .Request (ctx , http .MethodGet , path , nil )
220
- require .NoError (t , err )
221
- defer resp .Body .Close ()
222
- body , err := io .ReadAll (resp .Body )
223
- require .NoError (t , err )
224
- require .Equal (t , proxyTestAppBody , string (body ))
225
- require .Equal (t , http .StatusOK , resp .StatusCode )
226
- })
227
-
228
212
t .Run ("ProxyError" , func (t * testing.T ) {
229
213
t .Parallel ()
230
214
0 commit comments