Skip to content

Commit

Permalink
fix exception class
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Oct 27, 2020
1 parent 0d153c3 commit 2355a3a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Doctrine\Tests\DBAL\Functional\Schema;

use DateTime;
use Doctrine\DBAL\Exception\InvalidArgumentException;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Platforms\MariaDb1027Platform;
use Doctrine\DBAL\Platforms\MySqlPlatform;
Expand All @@ -14,6 +13,7 @@
use Doctrine\DBAL\Types\Type;
use Doctrine\DBAL\Types\Types;
use Doctrine\Tests\Types\MySqlPointType;
use InvalidArgumentException;

use function array_keys;

Expand Down Expand Up @@ -261,7 +261,7 @@ public function testAlterTableExplicitColumnPositionColumnNotFoundException(): v
$diff->toTable = $table2WithoutAColumn;

$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessageMatches('~Column name "a" not found');
$this->expectExceptionMessage('Column name "a" not found');
$this->schemaManager->alterTable($diff);
}

Expand Down

0 comments on commit 2355a3a

Please sign in to comment.