Skip to content

Commit 22b74bc

Browse files
committed
DOC-475: Back out changes that are causing test failures
1 parent 448c9f3 commit 22b74bc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/code/Magento/DirectoryGraphQl/etc/schema.graphqls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ type Query {
1010
type Currency {
1111
base_currency_code: String @doc(description: "The base currency set for the store, such as USD.")
1212
base_currency_symbol: String @doc(description: "The symbol for the specified base currency, such as $.")
13-
default_display_currecy_code: String @deprecated(reason: "The field name is misspelled. Use `default_display_currency_code` instead.")
13+
default_display_currecy_code: String @deprecated(reason: "Symbol was missed. Use `default_display_currency_code`.")
1414
default_display_currency_code: String @doc(description: "The currency that is displayed by default, such as USD.")
15-
default_display_currecy_symbol: String @deprecated(reason: "The field name is misspelled. Use `default_display_currency_symbol` instead.")
15+
default_display_currecy_symbol: String @deprecated(reason: "Symbol was missed. Use `default_display_currency_code`.")
1616
default_display_currency_symbol: String @doc(description: "The currency symbol that is displayed by default, such as $.")
1717
available_currency_codes: [String] @doc(description: "An array of three-letter currency codes accepted by the store, such as USD and EUR.")
1818
exchange_rates: [ExchangeRate] @doc(description: "An array of exchange rates for currencies defined in the store.")

dev/tests/api-functional/testsuite/Magento/GraphQl/IntrospectionQueryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,12 @@ enumValues(includeDeprecated: true) {
226226
}
227227
$this->assertNotEmpty($fieldDeprecatedReason);
228228
$this->assertContains(
229-
'The field name is misspelled. Use `default_display_currency_code` instead.',
229+
'Symbol was missed. Use `default_display_currency_code`.',
230230
$fieldDeprecatedReason
231231
);
232232

233233
$this->assertContains(
234-
'The field name is misspelled. Use `default_display_currency_code` instead.',
234+
'Symbol was missed. Use `default_display_currency_code`.',
235235
$fieldsValueReasonArray
236236
);
237237

0 commit comments

Comments
 (0)