From #1818560-31: Convert taxonomy entities to the new Entity Field API:

+++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/EfqTest.phpundefined
@@ -69,6 +69,6 @@ function testTaxonomyEfq() {
-    $this->assertEqual($term->tid, $tid, 'Taxonomy term can be created based on the IDs');
+    $this->assertEqual($term->id(), $tid, 'Taxonomy term can be created based on the IDs');

maybe a novice follow-up to look for other asserts where the punctuation is missing from sentences.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shanethehat’s picture

Status: Active » Needs review
FileSize
21.08 KB

Missing punctuation and descriptions added for all taxonomy test assertions.

Status: Needs review » Needs work

The last submitted patch, taxonomy-tests-punctuation-1965510-1.patch, failed testing.

Wim Leers’s picture

Status: Needs work » Postponed

I'm somewhat glad the first patch contains a syntax error, because committing this before #1818560: Convert taxonomy entities to the new Entity Field API would require another reroll there. This issue should be postponed on #1818560: Convert taxonomy entities to the new Entity Field API, sorry for not making that more explicit :(

shanethehat’s picture

Every embarrassing typo has a silver lining :)

Here it is again without the typo, even if it's not useful right now.

Wim Leers’s picture

Thank you! :)

If you won't, then I'll reroll your patch once that other patch is committed. Thanks again!

TR’s picture

Status: Postponed » Needs review
FileSize
20.38 KB

Now that #1818560: Convert taxonomy entities to the new Entity Field API is committed (almost 6 months ago!), it's time to consider this patch again.

I re-rolled the patch in #4 against the current D8 HEAD. I also corrected some spelling problems that were present in the previous patch. Let's see what the testbot says ...

Status: Needs review » Needs work

The last submitted patch, 1965510-6.patch, failed testing.

TR’s picture

Status: Needs work » Needs review
FileSize
20.39 KB

Sorry, syntax error. That's embarrassing. This one should be correct.

Status: Needs review » Needs work

The last submitted patch, 1965510-7.patch, failed testing.

TR’s picture

OK, let me work on this. I understand the testbot warnings, those are my fault. I don't immediately understand the failures, those are in sections of the patch I just copied. I'll see what I can do to make this run green.

TR’s picture

Status: Needs work » Needs review
FileSize
19.9 KB

OK, I fixed the failures in the original patch and fixed the warning that I introduced. Tests now run green locally, which is something I should have tested before I posted the patch. Let's try this now on the Drupal QA server.

DyanneNova’s picture

FileSize
19.9 KB

Everything looks good to me except for a few typos (landcode in place of langcode). I've added a patch for those.

TR’s picture

FileSize
1.78 KB

Yup, missed those. Thanks for the correction. Here's the interdiff so people can see the differences between #11 and #12. Diff shows there's still a typo in there, so I'll post another patch shortly.

TR’s picture

FileSize
792 bytes
19.9 KB

OK, here's the new patch, and interdiff between #12 and #14 (this one).

DyanneNova’s picture

Status: Needs review » Reviewed & tested by the community

I looked over everything again and don't see any more typos, so this should be good to go.

Xano’s picture

14: 1965510-14.patch queued for re-testing.

Xano’s picture

14: 1965510-14.patch queued for re-testing.

webchick’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Nice clean-up. Thanks!

Committed and pushed to 8.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.