Skip to content

Port alias refactor#498

Open
agentrickard wants to merge 5 commits into
8.x-1.xfrom
3087449
Open

Port alias refactor#498
agentrickard wants to merge 5 commits into
8.x-1.xfrom
3087449

Conversation

@agentrickard

Copy link
Copy Markdown
Owner

hanoii and others added 3 commits October 11, 2019 12:59
- Better handling of ports with and without default
- Use setter injection type instead of constructor
@hanoii

hanoii commented Jun 24, 2020

Copy link
Copy Markdown

Hi, I wonder if you have any feedback into merging this?

@agentrickard

Copy link
Copy Markdown
Owner Author

Tests are failing here and always were. I'll try merging in 8.x-1.x to see, but I suspect they are still going to fail.

Fortunately, we were able to fix d.o. testing, so you can try rolling another patch on the original issue.

https://www.drupal.org/project/domain/issues/3087449

@agentrickard

Copy link
Copy Markdown
Owner Author

@hanoli In case you can't see the Travis results, this test needs to be fixed:

1) Drupal\Tests\domain_alias\Functional\DomainAliasSortTest::testAliasSort
Pattern matched as expected for example.com
Failed asserting that an array is empty.
/home/travis/build/agentrickard/domain/domain_alias/tests/src/Functional/DomainAliasSortTest.php:21

@agentrickard

Copy link
Copy Markdown
Owner Author

That test expects the alias pattern list to come back in a specific order.

There are also numerous coding style violations in this patch.

@agentrickard

Copy link
Copy Markdown
Owner Author

Oddly, this test passes locally and on drupal.org -- https://www.drupal.org/project/domain/issues/3087449#comment-13717294

I wonder why it's failing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants