Skip to content
Snippets Groups Projects
Commit 5b7e59c8 authored by Laurent's avatar Laurent
Browse files

hotline #48424 add info to track errors

parent 581f5af8
Branches
Tags
1 merge request!1849Hotline#48424 champs personnalises articles cms inexploitables en facettes
......@@ -210,7 +210,14 @@ class Class_Indexation_PseudoNoticeCmsTest extends Class_Indexation_PseudoNotice
*/
public function thesaurusShouldContainsAttributes($id_thesaurus, $attributes) {
$thesaurus = Class_CodifThesaurus::findFirstBy(['id_thesaurus' => $id_thesaurus]);
if (!$thesaurus) {
foreach (Class_CodifThesaurus::findAll() as $t) {
var_dump($t->getRawAttributes());
}
}
$this->assertNotNull($thesaurus);
try {
$this->assertArraySubset($attributes,
$thesaurus->getRawAttributes());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment