Skip to content
Snippets Groups Projects
Commit b7d0b8d1 authored by Patrick Barroca's avatar Patrick Barroca
Browse files

rel #24 : fix tests failures

parent 6a69c4e9
Branches
Tags
2 merge requests!1677Hotline master,!1672Dev#24 storytime import des articles au format ical
......@@ -179,7 +179,7 @@ class ExternalAgendasAdminAddWithWorkflowInvalidPostTest extends ExternalAgendas
/** @test */
public function agendaShouldNotBeSaved() {
$this->assertNull(Class_ExternalAgenda::findFirstBy([]));
$this->assertEquals(1, Class_ExternalAgenda::count());
}
......@@ -220,7 +220,7 @@ class ExternalAgendasAdminAddWithWorkflowValidPostTest extends ExternalAgendasAd
'id_lieu' => 0,
'status' => Class_Article::STATUS_VALIDATED]);
$this->agenda = Class_ExternalAgenda::findFirstBy([]);
$this->agenda = Class_ExternalAgenda::findFirstBy(['label' => 'Extra Agenda']);
}
......
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