File test/run/ToSort/Bugs.php
class Lia\Test\Bugs
for testing bugs I find while working on Liaison
Constants
Properties
Methods
-
public function testViewLiaObj()
-
public function testViewAddsChildResources()
Happening on taeluf.com. I have atheme.php
view & associated.css
and.js
files intheme/
dir. I think the files are all being added toresources
addon, BUT they're NOT being output to the cached css file
This test FAILED to re-create the bug. So I realized that resource files were being added AFTER the theme view was being require
d. I moved the code around & now it works. I have not added a test for this.
-
public function testCacheDirPropagation()
When updating taeluf.com, resources weren't loading because cache dir wasn't set. I set the cache dir AFTER creating server & that worked. Then the routes weren't working & I found Resource's route...() method was not being setup through scan('route'); So I added anonPackageReady()
feature to do the scanning after a package is all set up. Now, route...() gets called, but the cache dir isn't set yet. So now the routes can't setup.