Skip to content
Permalink
Browse files

fix TestQgsFileDownloader::testLacksWritePermissionsError (followup f…

  • Loading branch information
jef-n committed Nov 9, 2017
1 parent 0ccf6fa commit 1ff50fd59e0d3eed369d842165fea9b205b9be22
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/gui/testqgsfiledownloader.cpp
@@ -242,7 +242,7 @@ void TestQgsFileDownloader::testLacksWritePermissionsError()
{
QTemporaryDir dir;
QFile tmpDir( dir.path( ) );
tmpDir.setPermissions( tmpDir.permissions() & !( QFile::Permission::WriteGroup | QFile::Permission::WriteUser | QFile::Permission::WriteOther | QFile::Permission::WriteOwner ) );
tmpDir.setPermissions( tmpDir.permissions() & ~( QFile::Permission::WriteGroup | QFile::Permission::WriteUser | QFile::Permission::WriteOther | QFile::Permission::WriteOwner ) );
QVERIFY( ! tmpDir.isWritable() );
QString fileName( dir.path() + '/' + QStringLiteral( "tmp.bin" ) );
makeCall( QUrl( QStringLiteral( "http://www.qgis.org" ) ), fileName );

0 comments on commit 1ff50fd

Please sign in to comment.
You can’t perform that action at this time.