diff options
Diffstat (limited to 'src/tests/teststorage.cpp')
-rw-r--r-- | src/tests/teststorage.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tests/teststorage.cpp b/src/tests/teststorage.cpp index 9757fdf3..ac831513 100644 --- a/src/tests/teststorage.cpp +++ b/src/tests/teststorage.cpp @@ -301,9 +301,8 @@ StorageTest::insertAccount(std::auto_ptr<DataProvider>& db, // the password will be identical to the name. - sql << "insert into " << ACCOUNTS_TBL_NAME - << "(username, password, email, level, banned) values " - << "('" << name << "', '" << name << "', '" + sql << "insert into " << ACCOUNTS_TBL_NAME << " values " + << "(null, '" << name << "', '" << name << "', '" << name << "@domain', 1, 0);"; db->execSql(sql.str()); |