Completed
Push — master ( 452720...819332 )
by cam
01:13
created
ecrire/tests/Texte/LiensTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
 			['id_article', 'lang'],
24 24
 			'spip_articles',
25 25
 			[
26
-				'statut = ' . sql_quote('publie'),
27
-				'lang != ' . sql_quote('')
26
+				'statut = '.sql_quote('publie'),
27
+				'lang != '.sql_quote('')
28 28
 			],
29 29
 			limit: '0,1',
30 30
 		);
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 		// on se met dans une autre langue que celle de l'article
36 36
 		lang_select($lang === 'eo' ? 'fa' : 'eo');
37 37
 
38
-		$case = '[->' . $id_article . ']';
38
+		$case = '[->'.$id_article.']';
39 39
 		$propre = propre($case);
40 40
 		$this->assertEquals(
41 41
 			$lang,
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
 	#[DataProvider('providerLiensClassCss')]
48 48
 	public function testLiensClassCss(string $table, ?string $short, bool $in) {
49
-		$id = sql_getfetsel(id_table_objet($table), $table, "statut='publie'", limit: '0,1');
49
+		$id = sql_getfetsel(id_table_objet($table), $table, "statut='publie'", limit : '0,1');
50 50
 		$type = objet_type($table);
51 51
 		if (!$id) {
52 52
 			$this->markTestSkipped(sprintf('Necessite un·e %s publié', $type));
Please login to merge, or discard this patch.