silverstripe-framework/admin/tests/CampaignAdminTest/InvalidChangeSet.php
2016-11-23 19:25:12 +13:00

15 lines
276 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");
}
}