silverstripe-framework/admin/tests/CampaignAdminTest/InvalidChangeSet.php

15 lines
291 B
PHP
Raw Normal View History

2016-11-13 08:35:43 +01:00
<?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");
}
2016-11-13 08:35:43 +01:00
}