File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ private function assertNumberAccountDeletionRequests(int $x)
1414 $ this ->assertTrue ($ USER ->hasRequestedAccountDeletion ());
1515 $ this ->assertTrue ($ SQL ->accDeletionRequestExists ($ USER ->uid ));
1616 } else {
17- throw new \ RuntimeError ("x must not be negative " );
17+ throw new RuntimeException ("x must not be negative " );
1818 }
1919 $ this ->assertEquals ($ x , $ this ->getNumberAccountDeletionRequests ());
2020 }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ private function assertNumberPiBecomeRequests(int $x)
1313 } elseif ($ x > 0 ) {
1414 $ this ->assertTrue ($ SQL ->requestExists ($ USER ->uid ));
1515 } else {
16- throw new \ RuntimeError ("x must not be negative " );
16+ throw new RuntimeException ("x must not be negative " );
1717 }
1818 $ this ->assertEquals ($ x , $ this ->getNumberPiBecomeRequests ());
1919 }
You can’t perform that action at this time.
0 commit comments