Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 705b512

Browse files
committed
fix: test fix
1 parent 2e4440c commit 705b512

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/features/dashboard/hooks/useRegisterApp/__tests__/useRegisterApp.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ describe('Use Delete App', () => {
3434
expect(result.current.is_loading).toBeTruthy();
3535

3636
await expect(wsServer).toReceiveMessage({
37+
app_register: 1,
3738
name: 'app',
3839
redirect_uri: 'https://example.com',
3940
req_id: 1,

src/features/dashboard/register-app/__tests__/register-app.test.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ describe('Update App Dialog', () => {
165165

166166
await expect(wsServer).toReceiveMessage({
167167
app_markup_percentage: 0,
168+
app_register: 1,
168169
name: 'test app name updated',
169170
redirect_uri: 'https://example.com',
170171
req_id: 1,
@@ -238,6 +239,7 @@ describe('Update App Dialog', () => {
238239

239240
await expect(wsServer).toReceiveMessage({
240241
app_markup_percentage: 0,
242+
app_register: 1,
241243
name: 'test app wrong name fake',
242244
redirect_uri: 'https://example.com',
243245
req_id: 1,
@@ -249,6 +251,7 @@ describe('Update App Dialog', () => {
249251
echo_req: {
250252
app_markup_percentage: 0,
251253
name: 'test app wrong name fake',
254+
app_register: 1,
252255
redirect_uri: 'https://example.com',
253256
req_id: 1,
254257
scopes: [],

0 commit comments

Comments
 (0)