Skip to content
Snippets Groups Projects
Commit e3d37493 authored by OZGCloud's avatar OZGCloud
Browse files

Merge branch 'master' into OZG-3119_interne_usermanager_adresse

parents c5372b13 bff6e850
Branches
Tags
No related merge requests found
...@@ -70,13 +70,13 @@ describe('Postfach nachricht user profile on backend error', () => { ...@@ -70,13 +70,13 @@ describe('Postfach nachricht user profile on backend error', () => {
}) })
}) })
describe.skip('FIXME(OZG-2950 UserManager) on status 503', () => { describe('on status 503', () => {
const statusCode: number = 503; const statusCode: number = 503;
const getUserProfileInterceptor: string = 'getUserProfileInterceptor'; const getUserProfileInterceptor: string = 'getUserProfileInterceptor';
beforeEach(() => { beforeEach(() => {
interceptWithResponse(HttpMethodE2E.GET, 'http://localhost:9092/api/userProfiles/*', { interceptWithResponse(HttpMethodE2E.GET, '/api/userProfiles/*', {
statusCode, body: { issues: [{ messageCode: MessageCodeE2E.SERVICE_UNAVAILABLE }] } statusCode, body: { issues: [{ messageCode: MessageCodeE2E.SERVICE_UNAVAILABLE }] }
}).as(getUserProfileInterceptor); }).as(getUserProfileInterceptor);
}) })
......
...@@ -229,7 +229,7 @@ function insertIntoUserManagerDatabase(config, collection, data){ ...@@ -229,7 +229,7 @@ function insertIntoUserManagerDatabase(config, collection, data){
function insert(databaseUrl, databaseName, collection, data){ function insert(databaseUrl, databaseName, collection, data){
MongoClient.connect(databaseUrl, (error, connection) => { MongoClient.connect(databaseUrl, (error, connection) => {
console.log('connect to database...') console.log(`connect to ${databaseName} database with ${databaseUrl}`);
if (!error) { if (!error) {
console.log('success'); console.log('success');
var db = connection.db(databaseName); var db = connection.db(databaseName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment