Skip to content

Commit

Permalink
[Tests] Aligned TextLine and TextBlock integration tests with the cha…
Browse files Browse the repository at this point in the history
…nges
  • Loading branch information
alongosz committed Aug 7, 2024
1 parent 33ce62e commit bd1875e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

namespace Ibexa\Tests\Integration\Core\Repository\FieldType;

use Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException;
use Ibexa\Contracts\Core\Repository\Values\Content\Field;
use Ibexa\Core\Base\Exceptions\InvalidArgumentType;
use Ibexa\Core\FieldType\TextBlock\Value as TextBlockValue;

/**
Expand Down Expand Up @@ -149,7 +149,7 @@ public function provideInvalidCreationFieldData()
return [
[
new \stdClass(),
InvalidArgumentType::class,
InvalidArgumentException::class,
],
];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
namespace Ibexa\Tests\Integration\Core\Repository\FieldType;

use Ibexa\Contracts\Core\Repository\Exceptions\ContentFieldValidationException;
use Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException;
use Ibexa\Contracts\Core\Repository\Values\Content\Field;
use Ibexa\Core\Base\Exceptions\InvalidArgumentType;
use Ibexa\Core\FieldType\TextLine\Value as TextLineValue;

/**
Expand Down Expand Up @@ -161,11 +161,11 @@ public function provideInvalidCreationFieldData()
return [
[
new \stdClass(),
InvalidArgumentType::class,
InvalidArgumentException::class,
],
[
42,
InvalidArgumentType::class,
InvalidArgumentException::class,
],
[
new TextLineValue(str_repeat('.', 64)),
Expand Down

0 comments on commit bd1875e

Please sign in to comment.