wiki.techinc.nl/tests/phpunit/includes/RevisionTestModifyableContent.php
addshore 9fe46fdd32 Split Revision tests into Unit & Integration classes
Change-Id: If10b102a1a0d680b5f067bf34c0fafcb59c09048
2017-10-13 14:46:36 +01:00

23 lines
422 B
PHP

<?php
class RevisionTestModifyableContent extends TextContent {
const MODEL_ID = "RevisionTestModifyableContent";
public function __construct( $text ) {
parent::__construct( $text, self::MODEL_ID );
}
public function copy() {
return new RevisionTestModifyableContent( $this->mText );
}
public function getText() {
return $this->mText;
}
public function setText( $text ) {
$this->mText = $text;
}
}