summaryrefslogtreecommitdiffstats
path: root/giglogadmin.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-06-27 14:53:57 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-06-27 14:53:57 +0200
commitf3c31f5e3b6f57bbc887e6b4e435e5202eb41208 (patch)
treec621bd0568787fcb6da31bf1729817b1d29e4c7b /giglogadmin.php
parent349ce7054ac8caccdc3d370365461931ff7a7b96 (diff)
downloadgigologadmin-f3c31f5e3b6f57bbc887e6b4e435e5202eb41208.tar.gz
gigologadmin-f3c31f5e3b6f57bbc887e6b4e435e5202eb41208.tar.bz2
gigologadmin-f3c31f5e3b6f57bbc887e6b4e435e5202eb41208.zip
Refactor ConcertTests and some cleanup
The commit changes the way we populate the database for the tests by creating more entries up front. This reduces the amount of duplicated code between the tests, but also introduce some challenges. As modifications to the database done in the wpSetUpBeforeClass hook are not cleaned up automatically by the WP_PHPUnit framework, we also have to add a wpTearDownAfterClass hook so anything we set up in this class does not disturb any other tests in other classes.
Diffstat (limited to 'giglogadmin.php')
0 files changed, 0 insertions, 0 deletions