1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

[CookiesTest] Update test after recent changes in CookieJar

This commit is contained in:
nowrep 2014-03-10 09:40:37 +01:00
parent fb2629898b
commit fb25ef4ba5
2 changed files with 4 additions and 2 deletions

View File

@ -16,6 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* ============================================================ */
#include "cookiestest.h"
#include "datapaths.h"
#include "settings.h"
#include <QtTest/QtTest>
@ -23,7 +24,8 @@
void CookiesTest::initTestCase()
{
Settings::createSettings(QDir::tempPath() + "/QupZilla-test.ini");
DataPaths::setCurrentProfilePath(QDir::tempPath() + "qz-test");
Settings::createSettings(QDir::tempPath() + "qz-test/settings.ini");
m_cookieJar = new CookieJar_Tst;
}

View File

@ -26,7 +26,7 @@ class CookieJar_Tst : public CookieJar
{
public:
explicit CookieJar_Tst()
: CookieJar(QString())
: CookieJar()
{
}