summaryrefslogtreecommitdiffstats
path: root/php-ramsey-uuid-tests.patch
blob: d7964fbd0ed36943259a52a176407fb3886c2e10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
--- ./tests/bootstrap.php.rpm	2020-10-02 10:51:10.570005924 +0200
+++ ./tests/bootstrap.php	2020-10-02 10:51:32.465928798 +0200
@@ -11,8 +11,6 @@ error_reporting(E_ALL & ~E_DEPRECATED);
 // Ensure floating-point precision is set to 14 (the default) for tests.
 ini_set('precision', '14');
 
-use AspectMock\Kernel;
-
 require_once __DIR__ . '/../vendor/autoload.php'; // composer autoload
 require_once __DIR__ . '/phpstan-bootstrap.php';
 
@@ -24,9 +22,3 @@ if (!is_dir($cacheDir)) {
     }
 }
 
-$kernel = Kernel::getInstance();
-$kernel->init([
-    'debug' => true,
-    'cacheDir' => $cacheDir,
-    'includePaths' => [__DIR__ . '/../src']
-]);
diff -up ./tests/TestCase.php.rpm ./tests/TestCase.php
--- ./tests/TestCase.php.rpm	2020-10-02 10:51:20.047972540 +0200
+++ ./tests/TestCase.php	2020-10-02 10:51:26.799948757 +0200
@@ -4,7 +4,6 @@ declare(strict_types=1);
 
 namespace Ramsey\Uuid\Test;
 
-use AspectMock\Test as AspectMock;
 use Mockery;
 use PHPUnit\Framework\TestCase as PhpUnitTestCase;
 
@@ -17,7 +16,6 @@ class TestCase extends PhpUnitTestCase
     protected function tearDown(): void
     {
         parent::tearDown();
-        AspectMock::clean();
         Mockery::close();
     }