Skip to content

Commit 23d285e

Browse files
committed
Try to fix PHP8 failing test
1 parent 234b9f3 commit 23d285e

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

src/Client/Directives/DirectiveClientTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private function checkPaths($path, array $paths)
101101
return $rule;
102102
}
103103
}
104-
//restore_error_handler();
104+
restore_error_handler();
105105
return false;
106106
}
107107
}

tests/DownloadGoogleTest.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,6 @@ public function testDownloadGoogle($base)
4343
$this->assertEquals($uriClient->render()->normal("\n"), $txtClient->render()->normal("\n"));
4444
}
4545

46-
/**
47-
* This method is called when a test method did not execute successfully.
48-
*
49-
* @param \Throwable $t
50-
* @throws \Throwable
51-
*/
52-
protected function onNotSuccessfulTest(\Throwable $t): void
53-
{
54-
print_r($t->)
55-
throw $t;
56-
}
57-
5846
/**
5947
* Generate test data
6048
*

0 commit comments

Comments
 (0)