File: Disable-RenderingTests-missing-debian-testing-lib.patch

package info (click to toggle)
baconqrcode 3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 740 kB
  • sloc: php: 6,970; xml: 63; makefile: 8
file content (52 lines) | stat: -rw-r--r-- 1,875 bytes parent folder | download
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
42
43
44
45
46
47
48
49
50
51
52
From: William Desportes <williamdes@wdes.fr>
Date: Wed, 7 Dec 2022 19:56:33 +0100
Subject: Disable *RenderingTest since the spatie/phpunit-snapshot-assertions
 lib is not in Debian

Origin: vendor
Forwarded: not-needed
---
 test/Integration/GDLibRenderingTest.php   | 2 +-
 test/Integration/ImagickRenderingTest.php | 2 +-
 test/Integration/SVGRenderingTest.php     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/Integration/GDLibRenderingTest.php b/test/Integration/GDLibRenderingTest.php
index 8e78e6d..7a2c74a 100644
--- a/test/Integration/GDLibRenderingTest.php
+++ b/test/Integration/GDLibRenderingTest.php
@@ -22,7 +22,7 @@ use Spatie\Snapshots\MatchesSnapshots;
 #[Group('integration')]
 final class GDLibRenderingTest extends TestCase
 {
-    use MatchesSnapshots;
+    //use MatchesSnapshots;
 
     #[RequiresPhpExtension('gd')]
     public function testGenericQrCode(): void
diff --git a/test/Integration/ImagickRenderingTest.php b/test/Integration/ImagickRenderingTest.php
index f51e7eb..86679ed 100644
--- a/test/Integration/ImagickRenderingTest.php
+++ b/test/Integration/ImagickRenderingTest.php
@@ -23,7 +23,7 @@ use Spatie\Snapshots\MatchesSnapshots;
 #[Group('integration')]
 final class ImagickRenderingTest extends TestCase
 {
-    use MatchesSnapshots;
+    //use MatchesSnapshots;
 
     #[RequiresPhpExtension('imagick')]
     public function testGenericQrCode() : void
diff --git a/test/Integration/SVGRenderingTest.php b/test/Integration/SVGRenderingTest.php
index 1655950..ad22a72 100644
--- a/test/Integration/SVGRenderingTest.php
+++ b/test/Integration/SVGRenderingTest.php
@@ -20,7 +20,7 @@ use Spatie\Snapshots\MatchesSnapshots;
 #[Group('integration')]
 final class SVGRenderingTest extends TestCase
 {
-    use MatchesSnapshots;
+    //use MatchesSnapshots;
 
     public function testGenericQrCode(): void
     {