Skip to content

Commit 39a623a

Browse files
committed
test(network): remove unused runtime fixture argument
1 parent 8d2ffb4 commit 39a623a

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

apps/sim/lib/core/network/fixtures/gateway-runtime.fixture.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { runWithOutboundOrganization } from '@/lib/core/network/context.server'
55
import { createGatewayDispatcher } from '@/lib/core/network/gateway.server'
66
import { secureFetchWithPinnedIP } from '@/lib/core/security/input-validation.server'
77

8-
const [proxyPort, originPort, certificatePath] = process.argv.slice(2)
9-
if (!proxyPort || !originPort || !certificatePath)
10-
throw new Error('Local fixture ports and certificate are required')
8+
const [proxyPort, certificatePath] = process.argv.slice(2)
9+
if (!proxyPort || !certificatePath)
10+
throw new Error('Local fixture proxy port and certificate are required')
1111
const gateway = {
1212
id: 'synthetic',
1313
organizationId: 'org_test',

apps/sim/lib/core/network/gateway.server.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ describe('organization gateways over real TLS CONNECT sockets', () => {
283283
'run',
284284
fileURLToPath(new URL('./fixtures/gateway-runtime.fixture.ts', import.meta.url)),
285285
String((proxy.address() as AddressInfo).port),
286-
String(securePort),
287286
certificatePath,
288287
],
289288
{

0 commit comments

Comments
 (0)