Skip to content
Snippets Groups Projects
Commit 33f48703 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

hotline #81451 : fix failures

parent 84ccad3a
Branches
Tags
2 merge requests!2905Hotline,!2880Hotline#81451 minsoc probleme flux rss qui ne s affiche pas
Pipeline #5297 passed with stage
in 30 minutes and 17 seconds
......@@ -48,6 +48,14 @@ abstract class Admin_RssControllerTestCase extends Admin_AbstractControllerTestC
])
]);
Class_Rss::setFileSystem($this->mock()->whenCalled('unlink')->answers(true));
}
public function tearDown() {
Class_Rss::setFileSystem(null);
parent::tearDown();
}
}
......@@ -411,6 +419,7 @@ class Admin_RssControllerAddActionPostDispatchTest extends Admin_RssControllerTe
public function setUp() {
parent::setUp();
$this->postDispatch('/admin/rss/rssadd',
['titre' => 'Journaux LinuxFr',
'description' => 'Les journaux',
......
......@@ -51,6 +51,12 @@ abstract class RssControllerTestCase extends AbstractControllerTestCase {
->whenCalled('unlink')
->answers(false));
}
public function tearDown() {
Class_Rss::setFileSystem(null);
parent::tearDown();
}
}
......
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