- Issue created by @arti_parmar
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 6:12am 27 June 2023 - last update
over 1 year ago 144 pass - Status changed to RTBC
over 1 year ago 10:51am 11 July 2023 - 🇮🇳India indrapatil Bangalore
Hi @arti
You need to update the command which we need to run to test.
patch applied cleanly so moving to RTBC. - Status changed to Needs work
over 1 year ago 11:56pm 11 July 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
-
+++ b/tests/src/Functional/migrate_drupal_ui/MigrateUpgradeExecuteTestBase.php @@ -73,7 +76,7 @@ abstract class MigrateUpgradeExecuteTestBase extends CoreUpgradeTestBase { - $session->pageTextContains(t('Congratulations, you upgraded Drupal!')); + $session->pageTextContains($this->t('Congratulations, you upgraded Drupal!'));
This fix is wrong, we shuoldn't be using t() in tests, can you remove the trait and t() altogether
-
+++ b/tests/src/Kernel/FeedValidationTest.php @@ -55,9 +58,9 @@ class FeedValidationTest extends EntityKernelTestBase { - $this->assertEquals(t('A feed named %value already exists. Enter a unique title.', ['%value' => $feed->label()]), $violations[0]->getMessage()); + $this->assertEquals($this->t('A feed named %value already exists. Enter a unique title.', ['%value' => $feed->label()]), $violations[0]->getMessage()); $this->assertEquals('url', $violations[1]->getPropertyPath()); - $this->assertEquals(t('A feed with this URL %value already exists. Enter a unique URL.', ['%value' => $feed->getUrl()]), $violations[1]->getMessage());
here too
Thanks for working on this.
Per my blog post, phpcs issues are great for new contributors. However I notice from your profile you already have several credits for PHPCS issues. As a result I'm removing credit in this instance. Feel free to stick around and help with the other issues in the module if you're looking to for the next step in your contribution journey.
-
- 🇮🇳India indrapatil Bangalore
Sure @larowlan I will work on the other issues.
Thank you. - Status changed to Needs review
over 1 year ago 3:40am 27 August 2023 - last update
over 1 year ago 147 pass - last update
over 1 year ago 147 pass - Status changed to Fixed
over 1 year ago 4:05am 27 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.