silverstripe-framework/admin/tests/CampaignAdminTest/InvalidChangeSet.php
2016-12-19 16:08:19 +13:00

15 lines
291 B
PHP

<?php
namespace SilverStripe\Admin\Tests\CampaignAdminTest;
use SilverStripe\ORM\UnexpectedDataException;
use SilverStripe\ORM\Versioning\ChangeSet;
class InvalidChangeSet extends ChangeSet
{
public function sync()
{
throw new UnexpectedDataException("bad data");
}
}