papabear

Those rates seem low, from anecdotal experience among colleagues currently.

papabear

Update: Issue resolved. We had a minor bug in the virtual host config that was breaking. All is serene now and our site is building correctly in the on-demand environments.

papabear

These are the SS assets - not our website assets - things like vendor files, etc.

papabear

Hi all. We’re deep in the process of migrating from SS3.x latest to 4.x latest and hitting some apache issues. We’re getting a lot of net::ERR_ABORTED 404 errors looking for assets, etc. Currently we have SS installed in the docroot. Can anyone offer some leads to investigate? My google-fu is failing me today and I’m struggling to find any solutions online that are having the desired effect.

FYI: The SS build works correctly in localhost. This is when we are trying to run it in an on-demand environment.

papabear

Oi vey - my google-fu must be failing big time. I didn’t even see those docs 😞

papabear

Hi Team! Has anyone had any experience using Mockery with SS tests for stubs and spies? Any alternative recommended plugins for this sort of functionality?

robbieaverill

There’s an old testing library called Phockito which we used to use in some of the semi core modules, I think that used Mockery. We have since refactored it all out though because it wasn’t really needed over a standard phpunit test

papabear

for sale Hi everyone. Are there any Joe Satriani fans in here? I have a single ticket for the concert at the Powerstation on 4 Dec and I can no longer go. The ticket is for Platinum VIP “Meet and Greet” - includes some swag I believe and a personal meeting with Joe Satriani himself. Original price was $300. Looking for offers.

I now return you to your regularly scheduled SilverStripe content.

papabear

I'm trying to patch a broken submodule and restructuring it appropriately turns a 5 pt ticket into about a 20 pt ticket 😞 I'm hoping I can do a patch that fixes the issue without requiring me to reverse engineer the feature and rebuild it - with all the associated regression testing involved.

papabear

eg - test the response from the function from ModelAdminController versus the response from MyCustomController

This is on the 3.5 branch of SS and on PHP7

papabear

Hi all. My google-fu is letting me down today. I have a function on an Object that needs to return a slightly different response dependent on the Controller that is currently running. How can I override the Controller::curr() temporarily in a SilverStripe test in order to test this method?