Skip to content
Permalink
Browse files

Update unit tests

  • Loading branch information
pblottiere committed May 8, 2020
1 parent 306065e commit 0772591784337416721b5f37281d28c286c4ebb2
Showing with 1 addition and 3 deletions.
  1. +1 −3 tests/src/core/testqgslegendrenderer.cpp
@@ -101,10 +101,8 @@ static QJsonObject _renderJsonLegend( QgsLayerTreeModel *legendModel, const QgsL
{
QgsLegendRenderer legendRenderer( legendModel, settings );

QJsonObject json;
QgsRenderContext context;
legendRenderer.exportLegendToJson( context, json );
return json;
return legendRenderer.exportLegendToJson( context );
}

static bool _verifyImage( const QString &testName, QString &report, int diff = 30 )

0 comments on commit 0772591

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