silverstripe / silverstripe-assets

Silverstripe Assets component
BSD 3-Clause "New" or "Revised" License
9 stars 65 forks source link

MNT Fix tests to work with no trailing slash on base url #537

Closed GuySartorelli closed 1 year ago

GuySartorelli commented 1 year ago

https://github.com/silverstripe/silverstripe-framework/pull/10538 makes Director::absoluteBaseURL() not include a trailing slash by default. This PR updates relevant tests to not explicitly expect trailing slashes.

This PR can be merged independently of the other PRs, since it is ultimately just promoting best practices in our tests.

Parent issue