Skip to content
Permalink
Browse files

fix QCOMPARE

  • Loading branch information
troopa81 authored and nyalldawson committed Dec 21, 2020
1 parent 710bbbe commit 9d7b55016953ac7a13d614701208208153e4537f
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/gui/testqgsexternalresourcewidgetwrapper.cpp
@@ -82,8 +82,8 @@ void TestQgsExternalResourceWidgetWrapper::test_setNullValues()
QSignalSpy spy( &ww, &QgsExternalResourceWidgetWrapper::valuesChanged );

ww.updateValues( QStringLiteral( "test" ) );
QCOMPARE( ww.mLineEdit->text(), "test" );
QCOMPARE( ww.mQgsWidget->documentPath(), QStringLiteral( "test" ) );
QCOMPARE( ww.mLineEdit->text(), QStringLiteral( "test" ) );
QCOMPARE( ww.mQgsWidget->documentPath(), QVariant( "test" ) );
QCOMPARE( spy.count(), 1 );

ww.updateValues( QVariant() );

0 comments on commit 9d7b550

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