Fix creation of NotExistingUrl in tests

parent 0f2d9177
......@@ -114,7 +114,7 @@ void ByteArrayRawFileSynchronizerFactoryTest::testLoadFromUrl()
void ByteArrayRawFileSynchronizerFactoryTest::testLoadFromNotExistingUrl()
{
const QUrl fileUrl = mFileSystem->createFilePath( QStringLiteral(NotExistingUrl) );
const QUrl fileUrl = QUrl( QStringLiteral(NotExistingUrl) );
Kasten::ByteArrayRawFileSynchronizerFactory *factory = new Kasten::ByteArrayRawFileSynchronizerFactory();
AbstractDocument* document = factory->loadNewDocument( fileUrl );
......
......@@ -114,7 +114,7 @@ void ByteArrayRawFileSynchronizerTest::testLoadFromUrl()
void ByteArrayRawFileSynchronizerTest::testLoadFromNotExistingUrl()
{
const QUrl fileUrl = QUrl( mFileSystem->createFilePath( QLatin1String(NotExistingUrl) ) );
const QUrl fileUrl = QUrl( QLatin1String(NotExistingUrl) );
ByteArrayRawFileSynchronizer* synchronizer = new ByteArrayRawFileSynchronizer();
synchronizer->startLoad( fileUrl )->exec();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment