diff --git a/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Create Control Unit Product.bru b/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Create Control Unit Product.bru index eecc6dfc..77ac0882 100644 --- a/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Create Control Unit Product.bru +++ b/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Create Control Unit Product.bru @@ -20,7 +20,6 @@ body:json { "materialFlag": false, "productFlag": true, "ownMaterialNumber": "MNR-4177-S", - "materialNumberCx": null, "name": "Central Control Unit" } } diff --git a/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Create Semiconductor Material.bru b/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Create Semiconductor Material.bru index 43fb861f..60b3ac43 100644 --- a/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Create Semiconductor Material.bru +++ b/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Create Semiconductor Material.bru @@ -20,7 +20,6 @@ body:json { "materialFlag": true, "productFlag": false, "ownMaterialNumber": "{{MATERIAL_NUMBER_CUSTOMER}}", - "materialNumberCx": "{{MATERIAL_NUMBER_CX}}", "name": "Semiconductor" } } diff --git a/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Get All Partners.bru b/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Get All Partners.bru index 7c8b8232..810e100d 100644 --- a/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Get All Partners.bru +++ b/local/bruno/puris-integration-test/Test_01-MAD/01_01-Init/Customer/MAD/Get All Partners.bru @@ -19,8 +19,8 @@ tests { expect(res.getStatus()).to.equal(200); }) - test("Verify response contains two objects (puris owner, supplier partner)", function () { - expect(res.getBody()).to.be.an("array").with.lengthOf(2); + test("Verify response contains one partner (supplier partner)", function () { + expect(res.getBody()).to.be.an("array").with.lengthOf(1); }); test("Verify supplier partner values (BPNL with one BPNS with one BPNA)", function () { diff --git a/local/bruno/puris-integration-test/Test_03-DTR/Check Customer DTR/Query dtr for ShellDescriptor Customer.bru b/local/bruno/puris-integration-test/Test_03-DTR/Check Customer DTR/Query dtr for ShellDescriptor Customer.bru index 49b6ac46..9ae6c14d 100644 --- a/local/bruno/puris-integration-test/Test_03-DTR/Check Customer DTR/Query dtr for ShellDescriptor Customer.bru +++ b/local/bruno/puris-integration-test/Test_03-DTR/Check Customer DTR/Query dtr for ShellDescriptor Customer.bru @@ -12,7 +12,6 @@ get { params:query { assetIds: {{DTR_QUERY_SPECIFIC_ASSET_IDS_ENCODED}} - ~null: } headers { diff --git a/local/postman/puris-integration-test.postman_collection.json b/local/postman/puris-integration-test.postman_collection.json index 0521d4e1..3662369f 100644 --- a/local/postman/puris-integration-test.postman_collection.json +++ b/local/postman/puris-integration-test.postman_collection.json @@ -45,7 +45,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"materialFlag\": true,\n \"productFlag\": false,\n \"ownMaterialNumber\": \"{{MATERIAL_NUMBER_CUSTOMER}}\",\n \"materialNumberCx\": \"{{MATERIAL_NUMBER_CX}}\",\n \"name\": \"Semiconductor\"\n}" + "raw": "{\n \"materialFlag\": true,\n \"productFlag\": false,\n \"ownMaterialNumber\": \"{{MATERIAL_NUMBER_CUSTOMER}}\",\n \"name\": \"Semiconductor\"\n}" }, "url": { "raw": "{{CUSTOMER_PURIS_BACKEND}}/catena/materials", @@ -86,7 +86,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"materialFlag\": false,\n \"productFlag\": true,\n \"ownMaterialNumber\": \"MNR-4177-S\",\n \"materialNumberCx\": null,\n \"name\": \"Central Control Unit\"\n}" + "raw": "{\n \"materialFlag\": false,\n \"productFlag\": true,\n \"ownMaterialNumber\": \"MNR-4177-S\",\n \"name\": \"Central Control Unit\"\n}" }, "url": { "raw": "{{CUSTOMER_PURIS_BACKEND}}/catena/materials", @@ -310,8 +310,8 @@ " pm.response.to.have.status(200);", "})", "", - "pm.test(\"Verify response contains two objects (puris owner, supplier partner)\", function () {", - " pm.expect(pm.response.json()).to.be.an(\"array\").with.lengthOf(2);", + "pm.test(\"Verify response contains one partner (supplier partner)\", function () {", + " pm.expect(pm.response.json()).to.be.an(\"array\").with.lengthOf(1);", "});", "", "pm.test(\"Verify supplier partner values (BPNL with one BPNS with one BPNA)\", function () {", @@ -4358,4 +4358,4 @@ "type": "string" } ] -} \ No newline at end of file +}