mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04:36:34 +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/>.
|
||||
* ============================================================ */
|
||||
#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;
|
||||
}
|
||||
|
||||
|
@ -26,7 +26,7 @@ class CookieJar_Tst : public CookieJar
|
||||
{
|
||||
public:
|
||||
explicit CookieJar_Tst()
|
||||
: CookieJar(QString())
|
||||
: CookieJar()
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user