- Issue created by @MrMason
- First commit to issue fork.
- π¦πΊAustralia sime Melbourne
We already use a mock list of projects, we should use a mock list of categories as well
I am not confident I know what you want to change. Looking at the existing fixtures there is a) no facets/categories.json b) as many project fixtures as there are categories fixtures . Was mocking the projects supposed to remove some of these project json fixtures?
fixtures/categories.json fixtures/category_list.json fixtures/project_data.json tests/fixtures/drupalorg_jsonapi/module_categories1.json tests/fixtures/drupalorg_jsonapi/module_categories2.json tests/fixtures/drupalorg_jsonapi/project_modules1.json tests/fixtures/drupalorg_jsonapi/project_modules2.json tests/fixtures/projects.json tests/fixtures/projects_fixture.json
Change the facets/category_list.json file (add an item, rename the items, etc...) and unit tests begin failing.
I created the branch 3446161-mock-categories so if you want kick it off by making the above change to get the tests failing, I'll have another look.