Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Tor Arne Thune’s picture

Assigned: Tor Arne Thune » Unassigned

Unassigning, as aspilicious beat me to it ;)

aspilicious’s picture

Status: Active » Needs review
FileSize
202.28 KB

This normally should be green.

Tor Arne Thune’s picture

Status: Needs review » Needs work
+++ b/core/modules/comment/lib/Drupal/comment/Tests/CommentThreadingTest.phpundefined
@@ -0,0 +1,106 @@
+//use Drupal\comment\Comment;

Leftover I suppose.

Also there is a place in user.test that references CommentHelperCase in the comments, so that should be changed.

grep -rl "CommentHelperCase" .
./core/modules/rdf/rdf.test
./core/modules/user/user.test
aspilicious’s picture

But the other issue should fix that, so I'm leaving the reroll to you when the other issue is fixed :)

Tor Arne Thune’s picture

Sure thing *writes a Post-It*

aspilicious’s picture

And you should try to fix the warnings ;).
And those fails are rly weird, looks like a random bot failure :s

Tor Arne Thune’s picture

Status: Needs work » Needs review
Issue tags: -PSR-0

#2: 1588284-comment-tests-psr0-3.patch queued for re-testing.

Let's try a re-test. Maybe a random test failure again.

Status: Needs review » Needs work
Issue tags: +PSR-0

The last submitted patch, 1588284-comment-tests-psr0-3.patch, failed testing.

Tor Arne Thune’s picture

Assigned: Unassigned » Tor Arne Thune

Okay, will deal with this later.

Tor Arne Thune’s picture

Status: Needs work » Needs review
FileSize
895 bytes
199.68 KB

Status: Needs review » Needs work

The last submitted patch, 1588284-comment-tests-psr0-10.patch, failed testing.

Tor Arne Thune’s picture

Status: Needs work » Needs review
FileSize
3.08 KB
199.48 KB

Removing unneeded use statements. Still have no clue about the failing upgrade tests.

Tor Arne Thune’s picture

Oh, so the upgrade test failures were random bot failures. Great!

aspilicious’s picture

Actually that is'nt great. I think it's related to these psr-0 patches and a not cleared registry when upgrading. Hard to track down if it's random

Berdir’s picture

Status: Needs review » Needs work
+++ b/core/modules/comment/lib/Drupal/comment/Tests/CommentActionsTest.phpundefined
@@ -0,0 +1,79 @@
+
+namespace Drupal\comment\Tests;
+
+use Drupal\comment\Tests\CommentTestBase;

The use shouldn't be necessary because we're in the same namespace.

Powered by Dreditor.

Tor Arne Thune’s picture

Status: Needs work » Needs review
FileSize
5.78 KB
198.92 KB

Makes sense.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

Looks good now

aspilicious’s picture

Status: Reviewed & tested by the community » Postponed

But I'm going to postpone this on the other issue.

aspilicious’s picture

Status: Postponed » Needs work

I'll leave this one for you Tor Arne Thune :)

Tor Arne Thune’s picture

Thanks, will re-roll it today :)

Tor Arne Thune’s picture

Status: Needs work » Needs review
FileSize
179.99 KB

This one should be good. Also changed CommentRSSTest to CommentRssTest (and its method to testCommentRss()) See #1591436: Convert filter tests to PSR-0 (comment #7) for the why.

aspilicious’s picture

Status: Needs review » Needs work
+++ b/core/modules/comment/lib/Drupal/comment/Tests/CommentNodeAccessTest.phpundefined
@@ -0,0 +1,79 @@
+/**
+ * @file
+ * Definition of Drupal\comment\Tests\CommentNodeAccessTest.
+ */
+
+namespace Drupal\comment\Tests;
+
+use Drupal\simpletest\WebTestBase;

Use webtestbase isn't needed here

7 days to next Drupal core point release.

Tor Arne Thune’s picture

Status: Needs work » Needs review
FileSize
449 bytes
179.95 KB

Removed.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

Gogogogo!

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 1588284-comment-tests-psr0-23.patch, failed testing.

Tor Arne Thune’s picture

Status: Needs work » Reviewed & tested by the community

Looks like it's needed as setUp() calls WebTestBase::setUp() directly.
Shall we say #21 is RTBC?

Tor Arne Thune’s picture

Status: Reviewed & tested by the community » Needs review

Oops, cross-post with System Message.

aspilicious’s picture

That doesn't sound ok...

I remember an issue about this....

Tor Arne Thune’s picture

Yes, there is an issue, but can't find it. I think we should leave that for the other issue.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

RTBC #21, we'll see what gets in first

RobLoach’s picture

Re-uploading #21 to keep confusion down.

aspilicious’s picture

Reroll!

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

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