dblayer: return the primarykey value after an insert. If it is not an autoincrement, return the provided value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3922 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -29,7 +29,7 @@ class test_userssql extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
$userssql = new userssql ("sqlite:///tmp/database.db");
|
||||
$res = $userssql->adduser ("toto@toto.com", "Toto", "Toto2");
|
||||
$this->assertSame ($res, "1");
|
||||
$this->assertSame ($res, "toto@toto.com");
|
||||
}
|
||||
|
||||
public function test_listusers2 ()
|
||||
|
||||
Reference in New Issue
Block a user