MDL-69232 behat: Simplify hooks
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 9 Jul 2020 01:10:09 +0000 (09:10 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 10 Jul 2020 00:40:30 +0000 (08:40 +0800)
commit376d34142f9bb6c521d8b2befcc3c2b3c19e6512
tree2db62d814a33652f5a2955369f9184f9e099b957
parent8eb7f7e366b33e9d6057a27a484131e41080a223
MDL-69232 behat: Simplify hooks

The behat hooks were needlessly complicated which made them much harder
to read, and understand, leading to bugs during development.

These have been significantly simplified to favour clarity over
overloading.
lib/tests/behat/behat_hooks.php