From: James Valleroy <jvalleroy@mailbox.org>
Date: Wed, 28 Feb 2024 22:29:13 -0500
Subject: tests: Drop yaml tests

They are failing with php-symfony 6 due to minor changes in the output
(double-quoted strings vs single-quoted strings). The only reverse dependency
currently (shaarli) does not use any extractors or generators from this
package. So it is not an important feature currently.

Forwarded: not-needed
---
 tests/AssetsTest.php | 44 --------------------------------------------
 1 file changed, 44 deletions(-)

diff --git a/tests/AssetsTest.php b/tests/AssetsTest.php
index e36c079..2fe0666 100644
--- a/tests/AssetsTest.php
+++ b/tests/AssetsTest.php
@@ -34,8 +34,6 @@ class AssetsTest extends AbstractTestCase
         $this->assertContent($translations, 'po/Csv');
         $this->assertContent($translations, 'po/CsvDictionary');
         $this->assertContent($translations, 'po/Xliff');
-        $this->assertContent($translations, 'po/Yaml');
-        $this->assertContent($translations, 'po/YamlDictionary');
 
         $this->runTestFormat('po/Po', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('po/Mo', $countTranslations - 1, $countTranslated - 1, $countHeaders);
@@ -46,8 +44,6 @@ class AssetsTest extends AbstractTestCase
         $this->runTestFormat('po/JsonDictionary', $countTranslations - 1, $countTranslated - 1);
         $this->runTestFormat('po/Csv', $countTranslations - 1, $countTranslated - 1, $countHeaders);
         $this->runTestFormat('po/CsvDictionary', $countTranslations - 1, $countTranslated - 1);
-        $this->runTestFormat('po/Yaml', $countTranslations - 1, $countTranslated - 1, $countHeaders);
-        $this->runTestFormat('po/YamlDictionary', $countTranslations - 1, $countTranslated - 1);
     }
 
     public function testPo2()
@@ -70,8 +66,6 @@ class AssetsTest extends AbstractTestCase
         $this->assertContent($translations, 'po2/Csv');
         $this->assertContent($translations, 'po2/CsvDictionary');
         $this->assertContent($translations, 'po2/Xliff');
-        $this->assertContent($translations, 'po2/Yaml');
-        $this->assertContent($translations, 'po2/YamlDictionary');
 
         $this->runTestFormat('po2/Po', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('po2/Mo', $countTranslations - 3, $countTranslated, $countHeaders);
@@ -82,8 +76,6 @@ class AssetsTest extends AbstractTestCase
         $this->runTestFormat('po2/JsonDictionary', $countTranslations, $countTranslated);
         $this->runTestFormat('po2/Csv', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('po2/CsvDictionary', $countTranslations, $countTranslated);
-        $this->runTestFormat('po2/Yaml', $countTranslations, $countTranslated, $countHeaders);
-        $this->runTestFormat('po2/YamlDictionary', $countTranslations, $countTranslated);
     }
 
     public function testPo3()
@@ -106,8 +98,6 @@ class AssetsTest extends AbstractTestCase
         $this->assertContent($translations, 'po3/Csv');
         $this->assertContent($translations, 'po3/CsvDictionary');
         $this->assertContent($translations, 'po3/Xliff');
-        $this->assertContent($translations, 'po3/Yaml');
-        $this->assertContent($translations, 'po3/YamlDictionary');
 
         $this->runTestFormat('po3/Po', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('po3/Mo', $countTranslations, $countTranslated, $countHeaders);
@@ -118,8 +108,6 @@ class AssetsTest extends AbstractTestCase
         $this->runTestFormat('po3/JsonDictionary', $countTranslations, $countTranslated);
         $this->runTestFormat('po3/Csv', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('po3/CsvDictionary', $countTranslations, $countTranslated);
-        $this->runTestFormat('po3/Yaml', $countTranslations, $countTranslated, $countHeaders);
-        $this->runTestFormat('po3/YamlDictionary', $countTranslations, $countTranslated);
     }
 
     public function testJed()
@@ -142,8 +130,6 @@ class AssetsTest extends AbstractTestCase
         $this->assertContent($translations, 'jed/Csv');
         $this->assertContent($translations, 'jed/CsvDictionary');
         $this->assertContent($translations, 'jed/Xliff');
-        $this->assertContent($translations, 'jed/Yaml');
-        $this->assertContent($translations, 'jed/YamlDictionary');
 
         $this->runTestFormat('jed/Po', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('jed/Mo', 10, $countTranslated, $countHeaders);
@@ -154,8 +140,6 @@ class AssetsTest extends AbstractTestCase
         $this->runTestFormat('jed/JsonDictionary', $countTranslations, $countTranslated);
         $this->runTestFormat('jed/Csv', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('jed/CsvDictionary', $countTranslations, $countTranslated);
-        $this->runTestFormat('jed/Yaml', $countTranslations, $countTranslated, $countHeaders);
-        $this->runTestFormat('jed/YamlDictionary', $countTranslations, $countTranslated);
     }
 
     public function testJsCode()
@@ -178,8 +162,6 @@ class AssetsTest extends AbstractTestCase
         $this->assertContent($translations, 'jscode/Csv');
         $this->assertContent($translations, 'jscode/CsvDictionary');
         $this->assertContent($translations, 'jscode/Xliff');
-        $this->assertContent($translations, 'jscode/Yaml');
-        $this->assertContent($translations, 'jscode/YamlDictionary');
 
         $this->runTestFormat('jscode/Po', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('jscode/Mo', 0, $countTranslated, $countHeaders);
@@ -190,8 +172,6 @@ class AssetsTest extends AbstractTestCase
         $this->runTestFormat('jscode/JsonDictionary', $countTranslations, $countTranslated);
         $this->runTestFormat('jscode/Csv', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('jscode/CsvDictionary', $countTranslations, $countTranslated);
-        $this->runTestFormat('jscode/Yaml', $countTranslations, $countTranslated, $countHeaders);
-        $this->runTestFormat('jscode/YamlDictionary', $countTranslations, $countTranslated);
     }
 
     public function testJs2Code()
@@ -213,8 +193,6 @@ class AssetsTest extends AbstractTestCase
         $this->assertContent($translations, 'jscode2/Csv');
         $this->assertContent($translations, 'jscode2/CsvDictionary');
         $this->assertContent($translations, 'jscode2/Xliff');
-        $this->assertContent($translations, 'jscode2/Yaml');
-        $this->assertContent($translations, 'jscode2/YamlDictionary');
 
         $this->runTestFormat('jscode2/Po', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('jscode2/Mo', 0, $countTranslated, $countHeaders);
@@ -225,8 +203,6 @@ class AssetsTest extends AbstractTestCase
         $this->runTestFormat('jscode2/JsonDictionary', $countTranslations, $countTranslated);
         $this->runTestFormat('jscode2/Csv', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('jscode2/CsvDictionary', $countTranslations, $countTranslated);
-        $this->runTestFormat('jscode2/Yaml', $countTranslations, $countTranslated, $countHeaders);
-        $this->runTestFormat('jscode2/YamlDictionary', $countTranslations, $countTranslated);
     }
 
     public function testPhpCode()
@@ -249,8 +225,6 @@ class AssetsTest extends AbstractTestCase
         $this->assertContent($translations, 'phpcode/Csv');
         $this->assertContent($translations, 'phpcode/CsvDictionary');
         $this->assertContent($translations, 'phpcode/Xliff');
-        $this->assertContent($translations, 'phpcode/Yaml');
-        $this->assertContent($translations, 'phpcode/YamlDictionary');
 
         $this->runTestFormat('phpcode/Po', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('phpcode/Mo', 0, $countTranslated, $countHeaders);
@@ -261,8 +235,6 @@ class AssetsTest extends AbstractTestCase
         $this->runTestFormat('phpcode/JsonDictionary', $countTranslations, $countTranslated);
         $this->runTestFormat('phpcode/Csv', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('phpcode/CsvDictionary', $countTranslations, $countTranslated);
-        $this->runTestFormat('phpcode/Yaml', $countTranslations, $countTranslated, $countHeaders);
-        $this->runTestFormat('phpcode/YamlDictionary', $countTranslations, $countTranslated);
     }
 
     public function testPhpCode2()
@@ -289,8 +261,6 @@ class AssetsTest extends AbstractTestCase
         $this->assertContent($translations, 'phpcode2/Csv');
         $this->assertContent($translations, 'phpcode2/CsvDictionary');
         $this->assertContent($translations, 'phpcode2/Xliff');
-        $this->assertContent($translations, 'phpcode2/Yaml');
-        $this->assertContent($translations, 'phpcode2/YamlDictionary');
 
         $this->runTestFormat('phpcode2/Po', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('phpcode2/Mo', 0, $countTranslated, $countHeaders);
@@ -301,8 +271,6 @@ class AssetsTest extends AbstractTestCase
         $this->runTestFormat('phpcode2/JsonDictionary', $countTranslations, $countTranslated);
         $this->runTestFormat('phpcode2/Csv', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('phpcode2/CsvDictionary', $countTranslations, $countTranslated);
-        $this->runTestFormat('phpcode2/Yaml', $countTranslations, $countTranslated, $countHeaders);
-        $this->runTestFormat('phpcode2/YamlDictionary', $countTranslations, $countTranslated);
     }
 
     public function testPhpCode3()
@@ -327,8 +295,6 @@ class AssetsTest extends AbstractTestCase
         $this->assertContent($translations, 'phpcode3/Csv');
         $this->assertContent($translations, 'phpcode3/CsvDictionary');
         $this->assertContent($translations, 'phpcode3/Xliff');
-        $this->assertContent($translations, 'phpcode3/Yaml');
-        $this->assertContent($translations, 'phpcode3/YamlDictionary');
 
         $this->runTestFormat('phpcode3/Po', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('phpcode3/Mo', 0, $countTranslated, $countHeaders);
@@ -339,8 +305,6 @@ class AssetsTest extends AbstractTestCase
         $this->runTestFormat('phpcode3/JsonDictionary', $countTranslations, $countTranslated);
         $this->runTestFormat('phpcode3/Csv', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('phpcode3/CsvDictionary', $countTranslations, $countTranslated);
-        $this->runTestFormat('phpcode3/Yaml', $countTranslations, $countTranslated, $countHeaders);
-        $this->runTestFormat('phpcode3/YamlDictionary', $countTranslations, $countTranslated);
     }
 
     public function testVueJs()
@@ -365,8 +329,6 @@ class AssetsTest extends AbstractTestCase
         $this->assertContent($translations, 'vuejs/Csv');
         $this->assertContent($translations, 'vuejs/CsvDictionary');
         $this->assertContent($translations, 'vuejs/Xliff');
-        $this->assertContent($translations, 'vuejs/Yaml');
-        $this->assertContent($translations, 'vuejs/YamlDictionary');
 
         $this->runTestFormat('vuejs/Po', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('vuejs/Mo', 0, $countTranslated, $countHeaders);
@@ -377,8 +339,6 @@ class AssetsTest extends AbstractTestCase
         $this->runTestFormat('vuejs/JsonDictionary', $countTranslations, $countTranslated);
         $this->runTestFormat('vuejs/Csv', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('vuejs/CsvDictionary', $countTranslations, $countTranslated);
-        $this->runTestFormat('vuejs/Yaml', $countTranslations, $countTranslated, $countHeaders);
-        $this->runTestFormat('vuejs/YamlDictionary', $countTranslations, $countTranslated);
     }
 
     /**
@@ -410,8 +370,6 @@ class AssetsTest extends AbstractTestCase
         $this->assertContent($translations, 'phpcode4/Csv');
         $this->assertContent($translations, 'phpcode4/CsvDictionary');
         $this->assertContent($translations, 'phpcode4/Xliff');
-        $this->assertContent($translations, 'phpcode4/Yaml');
-        $this->assertContent($translations, 'phpcode4/YamlDictionary');
 
         $this->runTestFormat('phpcode4/Po', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('phpcode4/Mo', 0, $countTranslated, $countHeaders);
@@ -422,8 +380,6 @@ class AssetsTest extends AbstractTestCase
         $this->runTestFormat('phpcode4/JsonDictionary', $countTranslations, $countTranslated);
         $this->runTestFormat('phpcode4/Csv', $countTranslations, $countTranslated, $countHeaders);
         $this->runTestFormat('phpcode4/CsvDictionary', $countTranslations, $countTranslated);
-        $this->runTestFormat('phpcode4/Yaml', $countTranslations, $countTranslated, $countHeaders);
-        $this->runTestFormat('phpcode4/YamlDictionary', $countTranslations, $countTranslated);
     }
 
     public function testPhpCode5MultipleDomainScanning()
