mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-05 08:32:53 +01:00
Qual: Spelling outside htdocs (#27448)
* Qual: Spelling outside htdocs # Qual: Fix spelling of files not in the htdocs subdirectory. Highlight: - Change in email test from unvalid to invalid that should give the same test result. * Update Dolibarr-soapui-project.xml --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -170,12 +170,12 @@ class RepositoryTest extends PHPUnit\Framework\TestCase
|
||||
{
|
||||
global $conf,$user,$langs,$db;
|
||||
|
||||
// Scan dir to guarante we don't have library jquery twice
|
||||
// Scan dir to guarantee we don't have library jquery twice
|
||||
$foundfiles=dol_dir_list(DOL_DOCUMENT_ROOT.'/includes/', 'files', 1, '^jquery\.js', array('ckeditor'));
|
||||
print __METHOD__." count(founddirs)=".count($foundfiles)."\n";
|
||||
$this->assertEquals(1, count($foundfiles), 'We found jquery lib (jquery.js) twice');
|
||||
|
||||
// Scan dir to guarante we don't have library jquery twice
|
||||
// Scan dir to guarantee we don't have library jquery twice
|
||||
$foundfiles=dol_dir_list(DOL_DOCUMENT_ROOT.'/includes/', 'files', 1, '^jquery\.min\.js', array('ckeditor'));
|
||||
print __METHOD__." count(founddirs)=".count($foundfiles)."\n";
|
||||
$this->assertEquals(1, count($foundfiles), 'We found jquery lib (jquery.min.js) twice '.(empty($foundfiles[0]) ? '' : $foundfiles[0]['fullname']).' '.(empty($foundfiles[1]) ? '' : $foundfiles[1]['fullname']));
|
||||
|
||||
Reference in New Issue
Block a user