fix(payment): expose provider type for named gateways
This commit is contained in:
1 parent
2e770f7e3e
commit
1b470402c7
5 files changed
+8
-1
No files matched your search
@@ -27,6 +27,7 @@ test("package APIs use server subjects and never expose gateway secrets", async
|
||||
const providerBody = await providers.text();
|
||||
expect(providers.status).toBe(200);
|
||||
expect(providerBody).toContain("testGateway");
|
||||
expect(providerBody).toContain('"provider":"sandbox"');
|
||||
expect(providerBody).not.toContain("server-only");
|
||||
|
||||
const denied = await POST({
|
||||
|
||||
Reference in new issue
Block a user