mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
composer format
This commit is contained in:
parent
55e7515c9c
commit
561216c83d
@ -182,7 +182,6 @@ class PaCryptTest extends \PHPUnit\Framework\TestCase
|
|||||||
|
|
||||||
public function testObviousMechs()
|
public function testObviousMechs()
|
||||||
{
|
{
|
||||||
|
|
||||||
global $CONF;
|
global $CONF;
|
||||||
|
|
||||||
$mechs = [
|
$mechs = [
|
||||||
@ -199,7 +198,6 @@ class PaCryptTest extends \PHPUnit\Framework\TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
foreach ($mechs as $mech => $example_hash) {
|
foreach ($mechs as $mech => $example_hash) {
|
||||||
|
|
||||||
if ($mech == 'mysql_encrypt' && Config::read_string('database_type') != 'mysql') {
|
if ($mech == 'mysql_encrypt' && Config::read_string('database_type') != 'mysql') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -217,7 +215,6 @@ class PaCryptTest extends \PHPUnit\Framework\TestCase
|
|||||||
$x = pacrypt('test123', $example_hash);
|
$x = pacrypt('test123', $example_hash);
|
||||||
|
|
||||||
$this->assertEquals($example_hash, $x);
|
$this->assertEquals($example_hash, $x);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user