Skip to content

Commit b37c410

Browse files
committedMar 1, 2018
Fix tests
1 parent b20889a commit b37c410

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed
 

‎src/gui/editorwidgets/qgsrangewidgetwrapper.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@ void QgsRangeWidgetWrapper::initWidget( QWidget *editor )
146146
setupIntEditor( minval, max, step, mIntSpinBox, this );
147147
if ( config( QStringLiteral( "Suffix" ) ).isValid() )
148148
mIntSpinBox->setSuffix( config( QStringLiteral( "Suffix" ) ).toString() );
149-
150-
connect( mIntSpinBox, static_cast < void ( QSpinBox::* )( int ) > ( &QSpinBox::valueChanged ),
151-
this, [ = ]( int ) { emitValueChanged(); } );
152149
}
153150
else
154151
{

‎tests/src/python/test_provider_postgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def testTransactionConstrains(self):
466466

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

471471
def testTransactionTuple(self):
472472
# create a vector layer based on postgres

0 commit comments

Comments
 (0)
Please sign in to comment.