Skip to content
Permalink
Browse files

Fix tests

  • Loading branch information
m-kuhn committed Mar 1, 2018
1 parent b20889a commit b37c410dbfea2dfbc58ff14a309bf8a32b26c95d
Showing with 1 addition and 4 deletions.
  1. +0 −3 src/gui/editorwidgets/qgsrangewidgetwrapper.cpp
  2. +1 −1 tests/src/python/test_provider_postgres.py
@@ -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
{
@@ -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

0 comments on commit b37c410

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