Assert that they don't begin with 'api.php?'.
Change-Id: Idf5e8e08863a379a37a427a11936e5f9ce567396
Depends-On: I8a82eecefbb0ba327d8e8bc24ec535bcf40e6429
Depends-On: I476aad09655a2822381a2c61690b4b0ad423151e
// Messages for examples.
foreach ( $module->getExamplesMessages() as $qs => $msg ) {
// Messages for examples.
foreach ( $module->getExamplesMessages() as $qs => $msg ) {
+ $this->assertStringStartsNotWith( 'api.php?', $qs,
+ "Query string must not begin with 'api.php?'" );
$this->checkMessage( $msg, "Example $qs" );
}
}
$this->checkMessage( $msg, "Example $qs" );
}
}