Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix typos in tests (#12977)

Przemysław Łada8b816f3494b0
diff --git a/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest.yaml b/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest.yaml
index 2dc75e0ab0..a17dddcc0d 100644
--- a/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest.yaml
+++ b/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest.yaml
@@ -18,7 +18,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://otherapp:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
@@ -69,7 +69,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://otherapp:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
diff --git a/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_activate_app.yaml b/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_activate_app.yaml
index 07ff9a6dce..53bc0ea924 100644
--- a/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_activate_app.yaml
+++ b/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_activate_app.yaml
@@ -18,7 +18,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://otherapp:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
@@ -69,7 +69,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://otherapp:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
diff --git a/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_app_has_all_required_permissions.yaml b/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_app_has_all_required_permissions.yaml
index b079a7ef39..2bb5b26994 100644
--- a/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_app_has_all_required_permissions.yaml
+++ b/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_app_has_all_required_permissions.yaml
@@ -18,7 +18,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://localhost:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
@@ -69,7 +69,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://localhost:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
diff --git a/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_installation_failed.yaml b/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_installation_failed.yaml
index 8a22ca44a2..aa4a7d4221 100644
--- a/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_installation_failed.yaml
+++ b/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_installation_failed.yaml
@@ -18,7 +18,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"register-wrong-format\",\n \"id\": \"app2\"\n}"
headers:
Access-Control-Allow-Credentials:
@@ -67,7 +67,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"register-wrong-format\",\n \"id\": \"app2\"\n}"
headers:
Access-Control-Allow-Credentials:
diff --git a/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_sends_token.yaml b/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_sends_token.yaml
index f10b9d49da..dbf0c37b19 100644
--- a/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_sends_token.yaml
+++ b/saleor/app/tests/cassettes/test_app_commands/test_creates_app_from_manifest_sends_token.yaml
@@ -18,7 +18,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://localhost:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
@@ -69,7 +69,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://localhost:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
diff --git a/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task.yaml b/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task.yaml
index 931124f9a1..ea9d42ec3c 100644
--- a/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task.yaml
+++ b/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task.yaml
@@ -18,7 +18,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://localhost:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
diff --git a/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task_request_timeout.yaml b/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task_request_timeout.yaml
index a45704fab9..fdf254e965 100644
--- a/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task_request_timeout.yaml
+++ b/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task_request_timeout.yaml
@@ -18,7 +18,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://localhost:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
diff --git a/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task_wrong_format_of_target_token_url.yaml b/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task_wrong_format_of_target_token_url.yaml
index 7bf82ed4cf..7f019ee740 100644
--- a/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task_wrong_format_of_target_token_url.yaml
+++ b/saleor/app/tests/cassettes/test_app_tasks/test_install_app_task_wrong_format_of_target_token_url.yaml
@@ -18,7 +18,7 @@ interactions:
: \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"register-wrong-format\",\n \"id\": \"app2\"\n}"
headers:
Access-Control-Allow-Credentials:
diff --git a/saleor/app/tests/cassettes/test_sends_data_to_target_url.yaml b/saleor/app/tests/cassettes/test_sends_data_to_target_url.yaml
index 4ce713b2d1..b82f833158 100644
--- a/saleor/app/tests/cassettes/test_sends_data_to_target_url.yaml
+++ b/saleor/app/tests/cassettes/test_sends_data_to_target_url.yaml
@@ -18,7 +18,7 @@ interactions:
: \"Lorem ipsum\",\n \"data_privacy\": \"Lorem ipsum\",\n \"data_privacy_url\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepage_url\": \"http://localhost:8888/homepage\"\
,\n \"support_url\": \"http://localhost:8888/support\",\n \"configuration_url\"\
- : \"htpp://localhost:8888/configuration\",\n \"app_url\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"app_url\": \"http://localhost:8888/app\"\
,\n \"token_target_url\": \"http://localhost:3000/register\",\n \"identificator\"\
: \"app2\"\n}"
headers:
diff --git a/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest.yaml b/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest.yaml
index cc81fb7b8c..76fe040eeb 100644
--- a/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest.yaml
+++ b/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest.yaml
@@ -18,7 +18,7 @@ interactions:
Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://localhost:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
diff --git a/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest_incorrect_permission_in_manifest.yaml b/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest_incorrect_permission_in_manifest.yaml
index 0ff84df408..df2e547478 100644
--- a/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest_incorrect_permission_in_manifest.yaml
+++ b/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest_incorrect_permission_in_manifest.yaml
@@ -18,7 +18,7 @@ interactions:
Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://localhost:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_WRONG\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
diff --git a/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest_with_audience.yaml b/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest_with_audience.yaml
index 5c52209675..3b8adb9095 100644
--- a/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest_with_audience.yaml
+++ b/saleor/graphql/app/tests/mutations/cassettes/test_app_fetch_manifest/test_app_fetch_manifest_with_audience.yaml
@@ -18,7 +18,7 @@ interactions:
Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
: \"http://localhost:8888/app-data-privacy\",\n \"homepageUrl\": \"http://localhost:8888/homepage\"\
,\n \"supportUrl\": \"http://localhost:8888/support\",\n \"configurationUrl\"\
- : \"htpp://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
+ : \"http://localhost:8888/configuration\",\n \"appUrl\": \"http://localhost:8888/app\"\
,\n \"tokenTargetUrl\": \"http://localhost:3000/register\",\n \"id\": \"\
app2\",\n \"permissions\": [\n \"MANAGE_USERS\",\n \"MANAGE_ORDERS\"\
\n ]\n}"
diff --git a/saleor/graphql/app/tests/mutations/test_app_fetch_manifest.py b/saleor/graphql/app/tests/mutations/test_app_fetch_manifest.py
index f5513d2a2e..248bd347af 100644
--- a/saleor/graphql/app/tests/mutations/test_app_fetch_manifest.py
+++ b/saleor/graphql/app/tests/mutations/test_app_fetch_manifest.py
@@ -87,7 +87,7 @@ def test_app_fetch_manifest(staff_api_client, staff_user, permission_manage_apps
assert manifest["about"] == "Lorem ipsum"
assert manifest["name"] == "app"
assert manifest["appUrl"] == "http://localhost:8888/app"
- assert manifest["configurationUrl"] == "htpp://localhost:8888/configuration"
+ assert manifest["configurationUrl"] == "http://localhost:8888/configuration"
assert manifest["tokenTargetUrl"] == "http://localhost:3000/register"
assert manifest["dataPrivacy"] == "Lorem ipsum"
assert manifest["dataPrivacyUrl"] == "http://localhost:8888/app-data-privacy"