Skip to content

Commit

Permalink
Increase supported Sulu version to fix tests on lowest
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Mar 17, 2023
1 parent d2a842d commit 9fe5073
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
namespace Sulu\Bundle\ContentBundle\Tests\Unit\Content\Domain\Model;

use PHPUnit\Framework\TestCase;
use Sulu\Bundle\ContentBundle\Content\Domain\Model\DimensionContentInterface;
use Sulu\Bundle\ContentBundle\Tests\Application\ExampleTestBundle\Entity\Example;
use Sulu\Bundle\ContentBundle\Tests\Application\ExampleTestBundle\Entity\ExampleDimensionContent;

Expand All @@ -22,7 +23,7 @@ class ContentRichEntityTraitTest extends TestCase
protected function getContentRichEntityInstance(): Example
{
return new class() extends Example {
public function createDimensionContent(): ExampleDimensionContent
public function createDimensionContent(): DimensionContentInterface
{
throw new \RuntimeException('Should not be called while executing tests.');
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"friendsofsymfony/rest-bundle": "^2.6 || ^3.0",
"massive/search-bundle": "^2.4",
"ramsey/uuid": "^3.8 || ^4.0",
"sulu/sulu": "^2.1 || ^2.6@dev",
"sulu/sulu": "^2.4 || ^2.6@dev",
"symfony/config": "^4.4 || ^5.4 || ^6.0",
"symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0",
"symfony/event-dispatcher": "^4.4 || ^5.4 || ^6.0",
Expand Down

0 comments on commit 9fe5073

Please sign in to comment.