File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public function setUp(): void {
60
60
/**
61
61
* Clean up the test fixture by removing the objects.
62
62
*/
63
- public function tearDown () {
63
+ public function tearDown (): void {
64
64
global $ DB ;
65
65
66
66
$ DB ->delete_records ('coursework ' , array ('id ' => $ this ->coursework ->id ));
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function setUp(): void {
56
56
/**
57
57
* Clean up the test fixture by removing the objects.
58
58
*/
59
- public function tearDown () {
59
+ public function tearDown (): void {
60
60
global $ DB ;
61
61
62
62
$ DB ->delete_records ('coursework ' , array ('id ' => $ this ->coursework ->id ));
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class generator_test extends \advanced_testcase {
44
44
/**
45
45
* Sets things up for every test. We want all to clean up after themselves.
46
46
*/
47
- public function setUp ():void {
47
+ public function setUp (): void {
48
48
$ this ->resetAfterTest (true );
49
49
}
50
50
You can’t perform that action at this time.
0 commit comments