diff --git a/tests/src/gui/testqgssqlcomposerdialog.cpp b/tests/src/gui/testqgssqlcomposerdialog.cpp index 1080d8dc33ea..9fdaf3521bab 100644 --- a/tests/src/gui/testqgssqlcomposerdialog.cpp +++ b/tests/src/gui/testqgssqlcomposerdialog.cpp @@ -332,7 +332,7 @@ void TestQgsSQLComposerDialog::testSelectFunction() QCOMPARE( getFunctionsCombo( d )->itemText( 1 ), QString( "first_func()" ) ); QCOMPARE( getFunctionsCombo( d )->itemText( 2 ), QString( "second_func(): int" ) ); QCOMPARE( getFunctionsCombo( d )->itemText( 3 ), QString( "third_func(1 argument(s))" ) ); - QCOMPARE( getFunctionsCombo( d )->itemText( 4 ), QString( "fourth_func(1 to 2 arguments)" ) ); + QCOMPARE( getFunctionsCombo( d )->itemText( 4 ), QString( "fourth_func(1 to 2 argument(s))" ) ); QCOMPARE( getFunctionsCombo( d )->itemText( 5 ), QString( "fifth_func(1 argument(s) or more)" ) ); QCOMPARE( getFunctionsCombo( d )->itemText( 6 ), QString( "sixth_func(arg1, arg2: double, arg3: geometry, int)" ) ); QCOMPARE( getFunctionsCombo( d )->itemText( 7 ), QString( "seventh_func(arg1[, arg2: double])" ) ); diff --git a/tests/src/python/test_qgsvectorfilewriter.py b/tests/src/python/test_qgsvectorfilewriter.py index 65f596e9b24f..fec0eb70fec7 100644 --- a/tests/src/python/test_qgsvectorfilewriter.py +++ b/tests/src/python/test_qgsvectorfilewriter.py @@ -984,7 +984,7 @@ def testOverwriteGPKG(self): filename, options) self.assertEqual(write_result, QgsVectorFileWriter.WriterError.ErrCreateDataSource) - self.assertEqual(error_message, 'Cannot overwrite a OGR layer in place') + self.assertEqual(error_message, 'Cannot overwrite an OGR layer in place') options.layerName = 'test2' write_result, error_message = QgsVectorFileWriter.writeAsVectorFormat(