Fix user ID filtering. Do not filter out user attribute packets.
This commit is contained in:
@@ -26,7 +26,7 @@ describe('Koa App (HTTP Server) Integration Tests', function() {
|
||||
before(async () => {
|
||||
sandbox.stub(log);
|
||||
|
||||
publicKeyArmored = fs.readFileSync(`${__dirname}/../key1.asc`, 'utf8');
|
||||
publicKeyArmored = fs.readFileSync(`${__dirname}/../fixtures/key1.asc`, 'utf8');
|
||||
mongo = new Mongo();
|
||||
await mongo.init(config.mongo);
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ describe('Email Integration Tests', function() {
|
||||
const recipient = {name: 'Test User', email: 'safewithme.testuser@gmail.com'};
|
||||
|
||||
before(() => {
|
||||
publicKeyArmored = require('fs').readFileSync(`${__dirname}/../key1.asc`, 'utf8');
|
||||
publicKeyArmored = require('fs').readFileSync(`${__dirname}/../fixtures/key1.asc`, 'utf8');
|
||||
origin = {
|
||||
protocol: 'http',
|
||||
host: `localhost:${config.server.port}`
|
||||
|
||||
@@ -27,8 +27,8 @@ describe('Public Key Integration Tests', function() {
|
||||
const origin = {host: 'localhost', protocol: 'http'};
|
||||
|
||||
before(async () => {
|
||||
publicKeyArmored = require('fs').readFileSync(`${__dirname}/../key3.asc`, 'utf8');
|
||||
publicKeyArmored2 = require('fs').readFileSync(`${__dirname}/../key4.asc`, 'utf8');
|
||||
publicKeyArmored = require('fs').readFileSync(`${__dirname}/../fixtures/key3.asc`, 'utf8');
|
||||
publicKeyArmored2 = require('fs').readFileSync(`${__dirname}/../fixtures/key4.asc`, 'utf8');
|
||||
sinon.stub(log, 'info');
|
||||
mongo = new Mongo();
|
||||
await mongo.init(config.mongo);
|
||||
|
||||
Reference in New Issue
Block a user