Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Mar 1, 2018
1 parent b20889a commit b37c410
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/gui/editorwidgets/qgsrangewidgetwrapper.cpp
Expand Up @@ -146,9 +146,6 @@ void QgsRangeWidgetWrapper::initWidget( QWidget *editor )
setupIntEditor( minval, max, step, mIntSpinBox, this );
if ( config( QStringLiteral( "Suffix" ) ).isValid() )
mIntSpinBox->setSuffix( config( QStringLiteral( "Suffix" ) ).toString() );

connect( mIntSpinBox, static_cast < void ( QSpinBox::* )( int ) > ( &QSpinBox::valueChanged ),
this, [ = ]( int ) { emitValueChanged(); } );
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_provider_postgres.py
Expand Up @@ -466,7 +466,7 @@ def testTransactionConstrains(self):

# check new values
self.assertTrue(vl.getFeatures('id=1').nextFeature(f))
self.assertEqual(f.attributes(), [1, 1, 0])
self.assertEqual(f.attributes(), [1, 1, NULL])

def testTransactionTuple(self):
# create a vector layer based on postgres
Expand Down

0 comments on commit b37c410

Please sign in to comment.