yield [ $rec, 789 ];
}
+ public function provideGetRevisionText() {
+ yield 'no text table' => [
+ []
+ ];
+ yield 'force text table' => [
+ [],
+ [
+ 'tables' => [ 'text' ],
+ 'fields' => [ 'old_id', 'old_text', 'old_flags', 'rev_text_id' ],
+ 'joins' => [ 'text' => [ 'JOIN', 'old_id=rev_text_id' ] ]
+ ]
+ ];
+ }
+
}