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:
parent
fb2629898b
commit
fb25ef4ba5
|
@ -16,6 +16,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* ============================================================ */
|
* ============================================================ */
|
||||||
#include "cookiestest.h"
|
#include "cookiestest.h"
|
||||||
|
#include "datapaths.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|
||||||
#include <QtTest/QtTest>
|
#include <QtTest/QtTest>
|
||||||
|
@ -23,7 +24,8 @@
|
||||||
|
|
||||||
void CookiesTest::initTestCase()
|
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;
|
m_cookieJar = new CookieJar_Tst;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ class CookieJar_Tst : public CookieJar
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit CookieJar_Tst()
|
explicit CookieJar_Tst()
|
||||||
: CookieJar(QString())
|
: CookieJar()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user