Skip to content
Snippets Groups Projects
Commit 70199704 authored by MIchael Nguyen's avatar MIchael Nguyen
Browse files

reverted test changes.

parent 5b6acbc1
No related branches found
No related tags found
1 merge request!6Trusted ibm
......@@ -106,7 +106,6 @@ public class RecordSteps extends TestsBase {
String[] x_acl = {generateActualName(dataGroup,timeStamp)+"."+getEntitlementsDomain()};
Acl acl = Acl.builder().viewers(x_acl).owners(x_acl).build();
testRecord.put("acl", acl);
testRecord.put("meta", generateMeta());
}
String payLoad = new Gson().toJson(records);
ClientResponse clientResponse = httpClient.send(HttpMethod.PUT, getStorageBaseURL() + "records", payLoad, headers, httpClient.getAccessToken());
......
......@@ -175,11 +175,4 @@ public abstract class TestsBase {
legal.setOtherRelevantDataCountries(otherRelevantCountries);
return legal;
}
protected ArrayList<HashMap<String, Object>> generateMeta() {
HashMap<String, Object> meta = new HashMap<String, Object>();
ArrayList<HashMap<String,Object>> arrayMeta = new ArrayList<>();
arrayMeta.add(meta);
return arrayMeta;
}
}
......@@ -17,9 +17,6 @@
],
"status": "compliant"
},
"meta": [
{}
],
"data": {
"Field": "OSDU OFFICE - 1",
"Location": "18.5204,73.8567",
......@@ -58,9 +55,6 @@
],
"status": "compliant"
},
"meta": [
{}
],
"data": {
"Field": "OSDU OFFICE - 3",
"Location": "29.749655,-95.473476",
......@@ -100,9 +94,6 @@
],
"status": "compliant"
},
"meta": [
{}
],
"data": {
"Field": "OSDU OFFICE - 4",
"Location": "29.6197,-95.6349",
......
......@@ -17,9 +17,6 @@
],
"status": "compliant"
},
"meta": [
{}
],
"data": {
"Field": "OSDU OFFICE - 1",
"Location": "18.5204,73.8567",
......@@ -59,9 +56,6 @@
],
"status": "compliant"
},
"meta": [
{}
],
"data": {
"Field": "OSDU OFFICE - 3",
"Location": "29.749655,-95.473476",
......@@ -102,9 +96,6 @@
],
"status": "compliant"
},
"meta": [
{}
],
"data": {
"Field": "OSDU OFFICE - 4",
"Location": "29.6197,-95.6349",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment