Beispiel #1
0
<?php

include dirname(__FILE__) . '/../bootstrap/unit.php';
require_once dirname(__FILE__) . '/../../lib/model/doctrine/AccountTable.class.php';
$t = new lime_test(1, new lime_output_color());
$conn = Doctrine_Connection::getAvailableDrivers();
$accountTable = new AccountTable('Account', $conn);
$t->diag('login()');
$t->ok($accountTable->login('beau', 'admin'), true, 'whats up?');
$t->todo();