Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Fix unit tests to work with Composer v0.17.x
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Stone <sstone1@uk.ibm.com>
  • Loading branch information
Simon Stone committed Jan 2, 2018
1 parent b32630d commit c426e8d
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/animaltracking-network/test/mozart.cto.js
Expand Up @@ -39,7 +39,7 @@ describe('Animal Tracking Network', function() {
// Embedded connection used for local testing
const connectionProfile = {
name: 'embedded',
type: 'embedded'
'x-type': 'embedded'
};
// Embedded connection does not need real credentials
const credentials = {
Expand Down
2 changes: 1 addition & 1 deletion packages/basic-sample-network/test/sample.js
Expand Up @@ -32,7 +32,7 @@ describe('Sample', () => {
// Embedded connection used for local testing
const connectionProfile = {
name: 'embedded',
type: 'embedded'
'x-type': 'embedded'
};

// Name of the business network card containing the administrative identity for the business network
Expand Down
2 changes: 1 addition & 1 deletion packages/bond-network/test/Bond.js
Expand Up @@ -35,7 +35,7 @@ describe('Publish Bond', () => {
// Embedded connection used for local testing
const connectionProfile = {
name: 'embedded',
type: 'embedded'
'x-type': 'embedded'
};
// Embedded connection does not need real credentials
const credentials = {
Expand Down
2 changes: 1 addition & 1 deletion packages/carauction-network/test/CarAuction.js
Expand Up @@ -35,7 +35,7 @@ describe('CarAuction', () => {
// Embedded connection used for local testing
const connectionProfile = {
name: 'embedded',
type: 'embedded'
'x-type': 'embedded'
};
// Embedded connection does not need real credentials
const credentials = {
Expand Down
2 changes: 1 addition & 1 deletion packages/digitalproperty-network/test/DigitalLandTitle.js
Expand Up @@ -33,7 +33,7 @@ describe('DigitalLandTitle', () => {
// Embedded connection used for local testing
const connectionProfile = {
name: 'embedded',
type: 'embedded'
'x-type': 'embedded'
};
// Embedded connection does not need real credentials
const credentials = {
Expand Down
2 changes: 1 addition & 1 deletion packages/marbles-network/test/MarblesTests.js
Expand Up @@ -35,7 +35,7 @@ describe('Marbles', () => {
// Embedded connection used for local testing
const connectionProfile = {
name: 'embedded',
type: 'embedded'
'x-type': 'embedded'
};
// Embedded connection does not need real credentials
const credentials = {
Expand Down
2 changes: 1 addition & 1 deletion packages/perishable-network/test/perishable.js
Expand Up @@ -40,7 +40,7 @@ describe('Perishable Shipping Network', () => {
// Embedded connection used for local testing
const connectionProfile = {
name: 'embedded',
type: 'embedded'
'x-type': 'embedded'
};
// Embedded connection does not need real credentials
const credentials = {
Expand Down
2 changes: 1 addition & 1 deletion packages/pii-network/test/pii.js
Expand Up @@ -32,7 +32,7 @@ describe('Acl checking', () => {
// Embedded connection used for local testing
const connectionProfile = {
name: 'embedded',
type: 'embedded'
'x-type': 'embedded'
};

// Name of the business network card containing the administrative identity for the business network
Expand Down
2 changes: 1 addition & 1 deletion packages/trade-network/test/trading.js
Expand Up @@ -35,7 +35,7 @@ describe('Commodity Trading', () => {
// Embedded connection used for local testing
const connectionProfile = {
name: 'embedded',
type: 'embedded'
'x-type': 'embedded'
};
// Embedded connection does not need real credentials
const credentials = {
Expand Down
2 changes: 1 addition & 1 deletion packages/vehicle-lifecycle-network/test/util.js
Expand Up @@ -140,7 +140,7 @@ function getAdminConnection() {

const connectionProfile = {
name: 'embedded',
type: 'embedded'
'x-type': 'embedded'
};
const credentials = {
certificate: 'FAKE CERTIFICATE',
Expand Down

0 comments on commit c426e8d

Please sign in to comment.