I have a small .php
file with that one function which I've pasted below. I would like to test that function.
Is there any way of how I can use phpunit? I'm not using composer.json
.
<?php public function LoginMe($a, $b) //nick, psw
{
require 'includes/mysql_connection.php';
require 'includes/config.php';
require 'includes/messages.php';
require 'backend/LogsSystem.php';
// Some code
return false;
} ?>