php-mpos/tests/unit/SecurityTokensTest.php
delboy1978uk 4705a62822 adding travis and scrutinizer yaml configs
adding empty codeception tests
2014-12-21 14:33:14 +00:00

26 lines
714 B
PHP

<?php
class Security_Tokens extends \Codeception\TestCase\Test
{
/**
* Tests tokens CRUD
*/
public function testTokens_CRUD()
{
// global $config;
// global $mysqli;
// $mysqli = new DBConnection($config);
// global $tokentype;
// global $oToken;
// // grab token types first so we can test them all
// $token_types = $tokentype->getAll();
//
// foreach ($token_types as $tt)
// {
// // create
// $create_token = $oToken->createToken($tt['name'], 1);
// $this->assertStringMatchesFormat('%x', $create_token);
// $this->assertGreaterThan(16, strlen($create_token));
// }
}
}