2
0
forked from Wavyzz/dolibarr

clean indent

This commit is contained in:
Frédéric FRANCE
2019-10-20 01:09:11 +02:00
parent 263bd9cbc0
commit 360bf55f5b
51 changed files with 1126 additions and 1163 deletions

View File

@@ -69,14 +69,14 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
),
// Geckodriver does not keep the session at the moment?!
// XPath selectors also don't seem to work
// array(
// 'browser' => 'Mozilla Firefox on Linux',
// 'browserName' => 'firefox',
// 'sessionStrategy' => 'shared',
// 'desiredCapabilities' => array(
// 'marionette' => true
// )
// )
//array(
// 'browser' => 'Mozilla Firefox on Linux',
// 'browserName' => 'firefox',
// 'sessionStrategy' => 'shared',
// 'desiredCapabilities' => array(
// 'marionette' => true,
// ),
//)
);
/**
@@ -224,7 +224,7 @@ class MyModuleFunctionalTest extends \PHPUnit_Extensions_Selenium2TestCase
{
$this->url('/custom/mymodule/admin/about.php');
$this->authenticate();
return $this->assertEquals(
return $this->assertEquals(
'Dolibarr Module Template (aka My Module)',
$this->byTag('h1')->text(),
"Readme title"
@@ -254,7 +254,7 @@ return $this->assertEquals(
{
$this->url('/admin/triggers.php');
$this->authenticate();
return $this->assertContains(
return $this->assertContains(
'interface_99_modMyModule_MyModuleTriggers.class.php',
$this->byTag('body')->text(),
"Trigger declared"
@@ -271,7 +271,7 @@ return $this->assertContains(
{
$this->url('/admin/triggers.php');
$this->authenticate();
return $this->assertContains(
return $this->assertContains(
'tick.png',
$this->byXPath('//td[text()="interface_99_modMyModule_MyTrigger.class.php"]/following::img')->attribute('src'),
"Trigger enabled"