Fixed defects found in the review of MapRouteItem
[situare] / tests / map / ownlocationitem / testownlocationitem.cpp
index 137d883..0d54702 100644 (file)
@@ -77,7 +77,7 @@ class TestOwnLocationItem: public QObject
      QCOMPARE(ownLocationItem.pos(), defaultLocationPoint);
 
      // Test Z-value
-     QCOMPARE(static_cast<int>(ownLocationItem.zValue()), OWN_LOCATION_ICON_Z_LEVEL);
+     QCOMPARE(static_cast<int>(ownLocationItem.zValue()), static_cast<int>(GPSLocationItemZValue));
 
      // Test Offset
      QCOMPARE(ownLocationItem.offset(),