mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 14:20:47 +08:00
6771b3e3b7
Some tests need to change settings, but since MemoryCacheSettingsRepository caches settings in-memory, those changes aren't reflected. The new `purgeSettingsCache` removes it from the container, eliminating that cache. For UserTest, we also need to regenerate the display name driver, since that's set statically on boot, before we'll get a change to clear the settings cache. |
||
---|---|---|
.. | ||
ApiControllerTest.php | ||
ApiSerializerTest.php | ||
ConsoleTest.php | ||
CsrfTest.php | ||
EventTest.php | ||
FormatterTest.php | ||
MailTest.php | ||
MiddlewareTest.php | ||
ModelTest.php | ||
ModelUrlTest.php | ||
ModelVisibilityTest.php | ||
NotificationTest.php | ||
PolicyTest.php | ||
PostTest.php | ||
RoutesTest.php | ||
ServiceProviderTest.php | ||
SettingsTest.php | ||
ThrottleApiTest.php | ||
UserTest.php | ||
ValidatorTest.php | ||
ViewTest.php |