Skip to content
Permalink
Browse files

Fix failing composer html tests

  • Loading branch information
nyalldawson committed May 6, 2014
1 parent 6cf3003 commit 68de42724da965844cc8eeefcaa0d7012f9fc3b2
Showing with 2 additions and 0 deletions.
  1. +1 −0 tests/src/core/testqgscomposerhtml.cpp
  2. +1 −0 tests/src/python/test_qgscomposerhtml.py
@@ -91,6 +91,7 @@ void TestQgsComposerHtml::tableMultiFrame()
QgsComposerFrame* htmlFrame = new QgsComposerFrame( mComposition, htmlItem, 10, 10, 100, 50 );
htmlItem->addFrame( htmlFrame );
htmlItem->setResizeMode( QgsComposerMultiFrame::RepeatUntilFinished );
htmlItem->setUseSmartBreaks( false );

//page1
htmlItem->setUrl( QUrl( QString( "file:///%1" ).arg( QString( TEST_DATA_DIR ) + QDir::separator() + "html_table.html" ) ) );
@@ -77,6 +77,7 @@ def testTableMultiFrame(self):
composerHtml.addFrame(htmlFrame)
composerHtml.setResizeMode(
QgsComposerMultiFrame.RepeatUntilFinished)
composerHtml.setUseSmartBreaks( False )
composerHtml.setUrl(self.htmlUrl())
composerHtml.frame(0).setFrameEnabled(True)

0 comments on commit 68de427

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