Commit graph

111 commits

Author SHA1 Message Date
Dillon-Brown
93c4e2ce91 Add legacy handler to fetch module sub menu data 2021-03-30 19:21:32 +01:00
Dillon-Brown
ed5feb3938 Fix NonGroupedNavTabs returning sorted array by default 2021-03-30 19:21:32 +01:00
Dillon-Brown
b83d27edcd Complete navigation user action menu contract 2021-03-30 19:21:32 +01:00
Clemente Raposo
ca0e00dfd1 Fix Legacy re-directs for subpaths
- Add units tests to check that :
-- requests to the api aren't taken as legacy
-- valid requests done in a subpath instance are considered valid
2021-03-30 19:21:31 +01:00
Dillon-Brown
fdb97afcb3 Fix NavTabs to return agreed navbar contract 2021-03-30 19:21:31 +01:00
Clemente Raposo
b809e5c85b Add ClassicView routing
Redirect Suite7 requests to Suite8 ClassicView routes for valid actions
- Use Symfony kernel events
- Use Symfony service configuration and DI for module mapping

Add legacy redirection tests
- Add acceptance test support
-- Add config helper
- Fix issue when running `codcept run`
-- functional tests missing
- Add functional tests for legacy routing
- Add unit tests for legacy routing
2021-03-30 19:21:31 +01:00
Dillon-Brown
ece6ae6377 Add additional configuration options to codeception
This updates the codeception unit tests to remove the LEGACY_PATH constant and to define legacy test runners so that we can test session related methods.
2021-03-30 19:21:31 +01:00
Dillon-Brown
a787d0d82f Add codeception testing framework
This implements the basic structure that will be used for future unit, functional and acceptance tests.
2021-03-30 19:21:30 +01:00
Dillon-Brown
bab8ce3390 Add grouped navigation tabs legacy handler 2021-03-30 19:21:30 +01:00
Dillon-Brown
cad4ee309c Add non-group navigation tabs legacy handler 2021-03-30 19:21:30 +01:00
Matt Lorimer
9a1442f726 Move tests to root directory 2021-03-30 19:21:30 +01:00