Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port alias refactor #498

Open
wants to merge 5 commits into
base: 8.x-1.x
Choose a base branch
from
Open

Port alias refactor #498

wants to merge 5 commits into from

Conversation

agentrickard
Copy link
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
Copy link

hanoii commented Jun 24, 2020

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

@agentrickard
Copy link
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
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
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
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