]> git.mxchange.org Git - friendica.git/commitdiff
Make tests PHPUnit 6.0 compatible
authorPhilipp <admin@philipp.info>
Sun, 16 May 2021 21:22:44 +0000 (23:22 +0200)
committerPhilipp <admin@philipp.info>
Sun, 16 May 2021 21:22:44 +0000 (23:22 +0200)
tests/bootstrap.php
tests/datasets/api.fixture.php

index 34467b7607c75bda6490621e85f660561f56980f..b034b092beccbc80bee7841f480538cc4b9ea2d0 100644 (file)
@@ -32,7 +32,7 @@ require __DIR__ . '/../vendor/autoload.php';
 
 // Backward compatibility
 if (!class_exists(TestCase::class)) {
-       class_alias(PHPUnit_Framework_TestCase::class, TestCase::class);
+       class_alias(\PHPUnit\Framework\TestCase::class, TestCase::class);
 }
 
 $dice = new Dice();
index fc6fc6ccfc01b6edf538d0a26fbdc424ee5b6f92..fbf2aad47c7c5622ec216ea46505f3f930febdd5 100644 (file)
@@ -738,4 +738,4 @@ return [
                        'uid'  => 42,
                ],
        ],
-];
\ No newline at end of file
+];