Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Legal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU Software
OSDU Data Platform
Security and Compliance
Legal
Merge requests
!174
fixing IT
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fixing IT
users/komakkar/ITfixes
into
Azure/OSDU-Legal-M8-Master
Overview
1
Commits
1
Pipelines
2
Changes
1
Merged
Komal Makkar
requested to merge
users/komakkar/ITfixes
into
Azure/OSDU-Legal-M8-Master
3 years ago
Overview
1
Commits
1
Pipelines
2
Changes
1
Expand
0
0
Merge request reports
Compare
Azure/OSDU-Legal-M8-Master
version 1
4d33ab33
3 years ago
Azure/OSDU-Legal-M8-Master (base)
and
latest version
latest version
4d33ab33
1 commit,
3 years ago
version 1
4d33ab33
1 commit,
3 years ago
1 file
+
4
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
testing/legal-test-core/src/main/java/org/opengroup/osdu/legal/acceptanceTests/CreateLegalTagApiAcceptanceTests.java
+
4
−
2
Options
@@ -139,7 +139,8 @@ public abstract class CreateLegalTagApiAcceptanceTests extends AcceptanceBaseTes
// following two tests prove the older version config file in tenant would also work
@Test
public
void
should_allowCreationOfALegalTag_When_countryOfOriginIsSetToClientConsentRequiredInTenant_andDataTypeIsTransferredData
()
throws
Exception
{
legalTagUtils
.
uploadTenantTestingConfigFile
();
// The older config is not provided hence commenting
//legalTagUtils.uploadTenantTestingConfigFile();
ClientResponse
response
=
legalTagUtils
.
create
(
"MY"
,
name
,
"Transferred Data"
);
LegalTagUtils
.
ReadableLegalTag
readableLegalTags
=
legalTagUtils
.
getResult
(
response
,
201
,
LegalTagUtils
.
ReadableLegalTag
.
class
);
assertEquals
(
name
,
readableLegalTags
.
name
);
@@ -148,7 +149,8 @@ public abstract class CreateLegalTagApiAcceptanceTests extends AcceptanceBaseTes
@Test
public
void
should_allowCreationOfALegalTag_When_countryOfOriginIsSetToClientConsentRequiredInTenant_andDataTypeIsFirstPartyData
()
throws
Exception
{
legalTagUtils
.
uploadTenantTestingConfigFile
();
// The older config is not provided hence commenting
//legalTagUtils.uploadTenantTestingConfigFile();
ClientResponse
response
=
legalTagUtils
.
create
(
"MY"
,
name
,
"First Party Data"
);
LegalTagUtils
.
ReadableLegalTag
readableLegalTags
=
legalTagUtils
.
getResult
(
response
,
201
,
LegalTagUtils
.
ReadableLegalTag
.
class
);
assertEquals
(
name
,
readableLegalTags
.
name
);
Loading