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

Merge branch...

Merge branch 'hotline#171580_partage_d_avis_batch_automatique_sur_le_serveur_communaute_et_nombre_d_avis' into 'master'

hotline #171580 : fix typo in class name in Class_Batch_PortalBorrowersEmailing

See merge request !4689
parents 7953d578 5992e17d
Branches
Tags
1 merge request!4689hotline #171580 : fix typo in class name in Class_Batch_PortalBorrowersEmailing
Pipeline #21528 canceled with stage
- correctif #171580 : Batchs : Correction d'une erreur possible au lancement automatique des batchs
\ No newline at end of file
......@@ -23,11 +23,11 @@
class Class_Batch_PortalBorrowersEmailing extends Class_Batch_Abstract {
const TYPE = 'PORTAL_BORROWERS_EMAILING';
protected Class_AdminVar_Portalborrowers $_var;
protected Class_AdminVar_PortalBorrowers $_var;
public function __construct() {
$this->_var = new Class_AdminVar_Portalborrowers;
$this->_var = new Class_AdminVar_PortalBorrowers;
}
......
......@@ -449,3 +449,16 @@ class PortalBorrowersBatchMondayTest extends PortalBorrowersBatchPickWeekTestCas
$this->assertNotXPathContentContains('//table[@id="batches"]//td', 'Une fois par semaine');
}
}
/**
* @see https://forge.afi-sa.net/issues/171580
*/
class PortalBorrowersNotLoadingTest extends PHPUnit_Framework_TestCase {
/** @test */
public function batchShouldBeDirectlyLoadable() {
$this->assertNotNull(new Class_Batch_PortalBorrowersEmailing);
}
}
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