Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Oct 17, 2020
1 parent 9d81660 commit 8fd3c04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const topics = require('../src/topics');
const plugins = require('../src/plugins');
const flags = require('../src/flags');
const messaging = require('../src/messaging');
const socketUser = require('../src/socket.io/user');


describe('Read API', async () => {
let readApi = false;
Expand Down Expand Up @@ -61,6 +61,7 @@ describe('Read API', async () => {
// Create a new chat room
await messaging.newRoom(1, [2]);

const socketUser = require('../src/socket.io/user');
// export data for admin user
await socketUser.exportProfile({ uid: adminUid }, { uid: adminUid });
await socketUser.exportPosts({ uid: adminUid }, { uid: adminUid });
Expand Down

0 comments on commit 8fd3c04

Please sign in to comment.