TYPO3CMS
9.5
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
$
d
e
r
u
Functions
Variables
$
e
r
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
SaltedPasswordsUtilityTest.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Core\Tests\Functional\Crypto\PasswordHashing\Utility
;
3
4
/*
5
* This file is part of the TYPO3 CMS project.
6
*
7
* It is free software; you can redistribute it and/or modify it under
8
* the terms of the GNU General Public License, either version 2
9
* of the License, or any later version.
10
*
11
* For the full copyright and license information, please read the
12
* LICENSE.txt file that was distributed with this source code.
13
*
14
* The TYPO3 project - inspiring people to share!
15
*/
16
17
use
TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility
;
18
22
class
SaltedPasswordsUtilityTest
extends
\TYPO3\TestingFramework\Core\Functional\FunctionalTestCase
23
{
24
30
protected
$xmlDatabaseFixtures
= [
31
'typo3/sysext/core/Tests/Functional/Crypto/PasswordHashing/Fixtures/be_users.xml'
32
];
33
37
protected
function
setUp
()
38
{
39
parent::setUp();
40
foreach
($this->xmlDatabaseFixtures as $fixture) {
41
$this->importDataSet($fixture);
42
}
43
}
44
50
public
function
checkIfNumberOfBackendUsersWithInsecurePasswordsIsFetchedCorrectly
()
51
{
52
$this->assertEquals(3,
SaltedPasswordsUtility::getNumberOfBackendUsersWithInsecurePassword
());
53
}
54
}
TYPO3\CMS\Core\Tests\Functional\Crypto\PasswordHashing\Utility\SaltedPasswordsUtilityTest
Definition:
SaltedPasswordsUtilityTest.php:23
TYPO3\CMS\Core\Tests\Functional\Crypto\PasswordHashing\Utility\SaltedPasswordsUtilityTest\$xmlDatabaseFixtures
array $xmlDatabaseFixtures
Definition:
SaltedPasswordsUtilityTest.php:29
TYPO3\CMS\Core\Tests\Functional\Crypto\PasswordHashing\Utility
Definition:
SaltedPasswordsUtilityTest.php:2
TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility\getNumberOfBackendUsersWithInsecurePassword
static int getNumberOfBackendUsersWithInsecurePassword()
Definition:
SaltedPasswordsUtility.php:41
TYPO3\CMS\Core\Tests\Functional\Crypto\PasswordHashing\Utility\SaltedPasswordsUtilityTest\checkIfNumberOfBackendUsersWithInsecurePasswordsIsFetchedCorrectly
checkIfNumberOfBackendUsersWithInsecurePasswordsIsFetchedCorrectly()
Definition:
SaltedPasswordsUtilityTest.php:49
TYPO3\CMS\Core\Tests\Functional\Crypto\PasswordHashing\Utility\SaltedPasswordsUtilityTest\setUp
setUp()
Definition:
SaltedPasswordsUtilityTest.php:36
TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility
Definition:
SaltedPasswordsUtility.php:27
doxygen
typo3
sysext
core
Tests
Functional
Crypto
PasswordHashing
SaltedPasswordsUtilityTest.php
Generated on Tue Oct 5 2021 01:57:18 for TYPO3CMS by
1.8.18