Skip to content
  • diosmosis's avatar
    6866c3aa
    For integration tests, recreate test environment in setUp(). This is required... · 6866c3aa
    diosmosis a rédigé
    For integration tests, recreate test environment in setUp(). This is required since the environment can be modified during tests, and these modifications must be removed after (eg, event observers can be registered). Since Plugin\Manager is in DI, we must also reload plugins.
    
    Integration/Plugin/ManagerTest.php was modified; order of plugins changed because Fixture::loadPlugins() will use TestingEnvironment to gather plugins, which sorts plugins by name.
    6866c3aa
    For integration tests, recreate test environment in setUp(). This is required...
    diosmosis a rédigé
    For integration tests, recreate test environment in setUp(). This is required since the environment can be modified during tests, and these modifications must be removed after (eg, event observers can be registered). Since Plugin\Manager is in DI, we must also reload plugins.
    
    Integration/Plugin/ManagerTest.php was modified; order of plugins changed because Fixture::loadPlugins() will use TestingEnvironment to gather plugins, which sorts plugins by name.
Chargement en cours