Closed (fixed)
Project:
CDN
Version:
8.x-3.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
8 Jun 2016 at 18:08 UTC
Updated:
22 Jun 2016 at 18:14 UTC
Jump to comment: Most recent, Most recent file
Child issue for #2708777: Write/migrate integration tests, for the CDNCssUrlTestCase portion.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2745115-2.patch | 1.79 KB | wim leers |
Comments
Comment #2
wim leers\Drupal\Core\Asset\CssOptimizernow has test coverage in\Drupal\Tests\Core\Asset\CssOptimizerUnitTestto ensure thatfile_create_url()is called on all files.However, that still leaves the case of ensuring that CSS aggregates are always up-to-date: they should contain either
This is already true. However, currently, aggregate A can contain no CDN URLs, and aggregate B can contain only CDN URLs. This is confusing, but it works: #2745109: Files referenced in CSS aggregates should not have CDN URLs: already root-relative, and they cannot be safely made forever cacheable anyway. See that issue for determining how to continue with that.
In any case, this means we can now get rid of the old test coverage.
Comment #4
wim leersComment #5
wim leers