Skip to content

Commit fcb39bc

Browse files
committed
Adapt composerhtml test to new multiframe resize modes
1 parent 0980056 commit fcb39bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/core/testqgscomposerhtml.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void TestQgsComposerHtml::tableMultiFrame()
7676
QgsComposerHtml* htmlItem = new QgsComposerHtml( mComposition, false );
7777
QgsComposerFrame* htmlFrame = new QgsComposerFrame( mComposition, htmlItem, 10, 10, 100, 50 );
7878
htmlItem->addFrame( htmlFrame );
79-
htmlItem->setResizeMode( QgsComposerMultiFrame::ExtendToNextPage );
79+
htmlItem->setResizeMode( QgsComposerMultiFrame::RepeatUntilFinished );
8080
bool result = true;
8181
//page1
8282
htmlItem->setUrl( QUrl( QString( "file:///%1" ).arg( QString( TEST_DATA_DIR ) + QDir::separator() + "html_table.html" ) ) );

0 commit comments

Comments
 (0)