Skip to content

Commit a58c8d6

Browse files
author
Naresh Kumar
committed
fixed tests
1 parent 225cc5f commit a58c8d6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/informatica/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ az group create -n testrg -l eastus
2222
```
2323
# Create Informatica Organization
2424
```
25-
az informatica data-management organization create --resource-group {resource_group} --org-name {name} --subscription {subscription} --location {location} --company-details '{"company-name": "{company_name}", "office-address": "{office_address}", "country": "{country}", "domain": "{domain}", "number-of-employees": {number_of_employee}}' --marketplace-details '{"marketplace-subscription-id": "{marketplace_subscription_id}", "offer-details": {"offer-id": "{offer_id}", "plan-id": "{plan_id}", "plan-name": "{plan_name}", "publisher-id": "{publisher_id}", "term-unit": "{term_unit}", "term-id": "{term_id}"}}' --user-details '{"first-name": "{user_first_name}", "last-name": "{user_last_name}", "email-address": "{user_email}", "upn": "{user_upn}", "phone-number": "{user_phone}"}' --informatica-properties '{"organization-id": "{org_id}", "organization-name": "{org_name}", "informatica-region": "{informatica_region}"}' --link-organization '{"token": "{link_token}"}'
25+
az informatica data-management organization create --resource-group {resource_group} --organization-name {name} --subscription {subscription} --location {location} --company-details '{"company-name": "{company_name}", "office-address": "{office_address}", "country": "{country}", "domain": "{domain}", "number-of-employees": {number_of_employee}}' --marketplace-details '{"marketplace-subscription-id": "{marketplace_subscription_id}", "offer-details": {"offer-id": "{offer_id}", "plan-id": "{plan_id}", "plan-name": "{plan_name}", "publisher-id": "{publisher_id}", "term-unit": "{term_unit}", "term-id": "{term_id}"}}' --user-details '{"first-name": "{user_first_name}", "last-name": "{user_last_name}", "email-address": "{user_email}", "upn": "{user_upn}", "phone-number": "{user_phone}"}' --informatica-properties '{"organization-id": "{org_id}", "organization-name": "{org_name}", "informatica-region": "{informatica_region}"}' --link-organization '{"token": "{link_token}"}'
2626
```
2727
# Show an Informatica Organization Resource
2828
```

src/informatica/azext_informatica/tests/latest/recordings/test_informatica.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interactions:
2525
Content-Type:
2626
- application/json
2727
ParameterSetName:
28-
- --resource-group --org-name --subscription --location --company-details --marketplace-details
28+
- --resource-group --organization-name --subscription --location --company-details --marketplace-details
2929
--user-details --informatica-properties --link-organization
3030
User-Agent:
3131
- AZURECLI/2.61.0 azsdk-python-core/1.28.0 Python/3.11.0 (Windows-10-10.0.22631-SP0)
@@ -86,7 +86,7 @@ interactions:
8686
Connection:
8787
- keep-alive
8888
ParameterSetName:
89-
- --resource-group --org-name --subscription --location --company-details --marketplace-details
89+
- --resource-group --organization-name --subscription --location --company-details --marketplace-details
9090
--user-details --informatica-properties --link-organization
9191
User-Agent:
9292
- AZURECLI/2.61.0 azsdk-python-core/1.28.0 Python/3.11.0 (Windows-10-10.0.22631-SP0)
@@ -133,7 +133,7 @@ interactions:
133133
Connection:
134134
- keep-alive
135135
ParameterSetName:
136-
- --resource-group --org-name --subscription --location --company-details --marketplace-details
136+
- --resource-group --organization-name --subscription --location --company-details --marketplace-details
137137
--user-details --informatica-properties --link-organization
138138
User-Agent:
139139
- AZURECLI/2.61.0 azsdk-python-core/1.28.0 Python/3.11.0 (Windows-10-10.0.22631-SP0)
@@ -180,7 +180,7 @@ interactions:
180180
Connection:
181181
- keep-alive
182182
ParameterSetName:
183-
- --resource-group --org-name --subscription --location --company-details --marketplace-details
183+
- --resource-group --organization-name --subscription --location --company-details --marketplace-details
184184
--user-details --informatica-properties --link-organization
185185
User-Agent:
186186
- AZURECLI/2.61.0 azsdk-python-core/1.28.0 Python/3.11.0 (Windows-10-10.0.22631-SP0)

src/informatica/azext_informatica/tests/latest/test_informatica.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_informatica(self, resource_group):
5353
})
5454

5555
# Create Informatica Organization
56-
self.cmd('az informatica data-management organization create --resource-group {resource_group} --org-name {name} --subscription {subscription} --location {location} --company-details \'{{"company-name": "{company_name}", "office-address": "{office_address}", "country": "{country}", "domain": "{domain}", "number-of-employees": {number_of_employee}}}\' --marketplace-details \'{{"marketplace-subscription-id": "{marketplace_subscription_id}", "offer-details": {{"offer-id": "{offer_id}", "plan-id": "{plan_id}", "plan-name": "{plan_name}", "publisher-id": "{publisher_id}", "term-unit": "{term_unit}", "term-id": "{term_id}"}}}}\' --user-details \'{{"first-name": "{user_first_name}", "last-name": "{user_last_name}", "email-address": "{user_email}", "upn": "{user_upn}", "phone-number": "{user_phone}"}}\' --informatica-properties \'{{"organization-id": "{org_id}", "organization-name": "{org_name}", "informatica-region": "{informatica_region}"}}\' --link-organization \'{{"token": "{link_token}"}}\'',
56+
self.cmd('az informatica data-management organization create --resource-group {resource_group} --organization-name {name} --subscription {subscription} --location {location} --company-details \'{{"company-name": "{company_name}", "office-address": "{office_address}", "country": "{country}", "domain": "{domain}", "number-of-employees": {number_of_employee}}}\' --marketplace-details \'{{"marketplace-subscription-id": "{marketplace_subscription_id}", "offer-details": {{"offer-id": "{offer_id}", "plan-id": "{plan_id}", "plan-name": "{plan_name}", "publisher-id": "{publisher_id}", "term-unit": "{term_unit}", "term-id": "{term_id}"}}}}\' --user-details \'{{"first-name": "{user_first_name}", "last-name": "{user_last_name}", "email-address": "{user_email}", "upn": "{user_upn}", "phone-number": "{user_phone}"}}\' --informatica-properties \'{{"organization-id": "{org_id}", "organization-name": "{org_name}", "informatica-region": "{informatica_region}"}}\' --link-organization \'{{"token": "{link_token}"}}\'',
5757
checks=[
5858
self.check('name', '{name}'),
5959
self.check('informaticaProperties.organizationName', '{org_name}'),

0 commit comments

Comments
 (0)