mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
15 lines
276 B
PHP
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");
|
||
|
}
|
||
|
}
|