Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix debug logging
  • Loading branch information
m-kuhn committed Sep 28, 2017
1 parent 5250b0d commit af0451c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/src/core/testqgscoordinatereferencesystem.cpp
Expand Up @@ -739,7 +739,7 @@ void TestQgsCoordinateReferenceSystem::validSrsIds()
// check that all returns ids are valid
Q_FOREACH ( long id, ids )
{
QgsCoordinateReferenceSystem c = QgsCoordinateReferenceSystem::fromSrsId( id );
QgsCoordinateReferenceSystem c = QgsCoordinateReferenceSystem::fromEpsgId( id );
QVERIFY2( c.isValid(), qPrintable( QStringLiteral( "QgsCoordinateReferenceSystem::fromSrsId( %1 ) is not valid (%2 of %3 IDs returned by QgsCoordinateReferenceSystem::validSrsIds())." ).arg( id ).arg( ids.indexOf( id ) ).arg( ids.length() ) ) );
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_provider_wfs.py
Expand Up @@ -754,7 +754,7 @@ def testWFST10(self):
f.setAttributes([1, 1234567890123, 'foo', QDateTime(2016, 4, 10, 12, 34, 56, 789, Qt.TimeSpec(Qt.UTC))])
f.setGeometry(QgsGeometry.fromWkt('Point (2 49)'))

def logMessage(self, msg, tag, level):
def logMessage(msg, tag, level):
print('--------################----------------')
print(msg)
print('--------################----------------')
Expand Down

0 comments on commit af0451c

Please sign in to comment.