Skip to content
Permalink
Browse files

Followup ecee438

  • Loading branch information
nyalldawson committed Oct 18, 2016
1 parent ecee438 commit 4589a807d0d24ddb43a8ed2b94b8ab2ace9b3295
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/src/core/testqgscomposerscalebar.cpp
@@ -25,6 +25,7 @@
#include "qgsrasterlayer.h"
#include "qgsrasterdataprovider.h"
#include "qgsfontutils.h"
#include "qgsproject.h"

#include <QLocale>
#include <QObject>
@@ -75,6 +76,8 @@ void TestQgsComposerScaleBar::initTestCase()
// so we enforce C locale to make sure we get expected result
QLocale::setDefault( QLocale::c() );

QgsProject::instance()->setEllipsoid( "WGS84" );

mMapSettings = new QgsMapSettings();

//create maplayers from testdata and add to layer registry

0 comments on commit 4589a80

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