public function testCheckDirectApiEditingDisallowed_forNonTextContent() {
$this->setExpectedException(
'UsageException',
- 'Direct editing via API is not supported for this content type.'
+ 'Direct editing via API is not supported for content model testing used by Dummy:ApiEditPageTest_nonTextPageEdit'
);
$this->doApiRequestWithToken( array(