Skip to content

Commit

Permalink
Merge pull request #207 from ezsystems/IBX-893-move-workflow-behat
Browse files Browse the repository at this point in the history
IBX-892: Moved Behat Workflow package into lib from tests
  • Loading branch information
ViniTou authored Aug 20, 2021
2 parents 2c883a4 + 09dc11d commit 1358cb3
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions behat_ibexa_commerce.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ regression:
- Ibexa\PageBuilder\Behat\Context\PageBuilderContext
- Ibexa\Scheduler\Behat\BrowserContext\DateBasedPublisherContext
- Ibexa\User\Behat\Context\UserSetupContext
- Ibexa\Workflow\Tests\Behat\Context\WorkflowAdminContext
- Ibexa\Workflow\Tests\Behat\Context\WorkflowContext
- Ibexa\Workflow\Behat\Context\WorkflowAdminContext
- Ibexa\Workflow\Behat\Context\WorkflowContext
4 changes: 2 additions & 2 deletions behat_ibexa_content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ regression:
- Ibexa\Behat\Browser\Context\DebuggingContext
- Ibexa\Scheduler\Behat\BrowserContext\DateBasedPublisherContext
- Ibexa\User\Behat\Context\UserSetupContext
- Ibexa\Workflow\Tests\Behat\Context\WorkflowAdminContext
- Ibexa\Workflow\Tests\Behat\Context\WorkflowContext
- Ibexa\Workflow\Behat\Context\WorkflowAdminContext
- Ibexa\Workflow\Behat\Context\WorkflowContext
4 changes: 2 additions & 2 deletions behat_ibexa_experience.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ regression:
- Ibexa\PageBuilder\Behat\Context\PageBuilderContext
- Ibexa\Scheduler\Behat\BrowserContext\DateBasedPublisherContext
- Ibexa\User\Behat\Context\UserSetupContext
- Ibexa\Workflow\Tests\Behat\Context\WorkflowAdminContext
- Ibexa\Workflow\Tests\Behat\Context\WorkflowContext
- Ibexa\Workflow\Behat\Context\WorkflowAdminContext
- Ibexa\Workflow\Behat\Context\WorkflowContext
4 changes: 2 additions & 2 deletions src/lib/Subscriber/CreateContentDraft.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use EzSystems\Behat\API\Facade\ContentFacade;
use EzSystems\Behat\Event\Events;
use EzSystems\Behat\Event\TransitionEvent;
use Ibexa\Workflow\Tests\Behat\Facade\WorkflowFacade;
use Ibexa\Workflow\Behat\Facade\WorkflowFacade;
use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
Expand All @@ -24,7 +24,7 @@ class CreateContentDraft extends AbstractProcessStage implements EventSubscriber
/** @var \EzSystems\Behat\API\Facade\ContentFacade */
private $contentFacade;

/** @var \Ibexa\Workflow\Tests\Behat\Facade\WorkflowFacade */
/** @var \Ibexa\Workflow\Behat\Facade\WorkflowFacade */
private $workflowFacade;

public static function getSubscribedEvents()
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Subscriber/EditContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use EzSystems\Behat\API\ContentData\RandomDataGenerator;
use EzSystems\Behat\Event\Events;
use EzSystems\Behat\Event\TransitionEvent;
use Ibexa\Workflow\Tests\Behat\Facade\WorkflowFacade;
use Ibexa\Workflow\Behat\Facade\WorkflowFacade;
use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
Expand All @@ -28,7 +28,7 @@ class EditContent extends AbstractProcessStage implements EventSubscriberInterfa
/** @var \eZ\Publish\API\Repository\ContentService */
private $contentService;

/** @var \Ibexa\Workflow\Tests\Behat\Facade\WorkflowFacade */
/** @var \Ibexa\Workflow\Behat\Facade\WorkflowFacade */
private $workflowFacade;

protected function getTransitions(): array
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Subscriber/PublishDraft.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use EzSystems\Behat\API\ContentData\RandomDataGenerator;
use EzSystems\Behat\Event\Events;
use EzSystems\Behat\Event\TransitionEvent;
use Ibexa\Workflow\Tests\Behat\Facade\WorkflowFacade;
use Ibexa\Workflow\Behat\Facade\WorkflowFacade;
use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
Expand All @@ -24,7 +24,7 @@ class PublishDraft extends AbstractProcessStage implements EventSubscriberInterf
/** @var \eZ\Publish\API\Repository\ContentService */
private $contentService;

/** @var \Ibexa\Workflow\Tests\Behat\Facade\WorkflowFacade */
/** @var \Ibexa\Workflow\Behat\Facade\WorkflowFacade */
private $workflowFacade;

protected function getTransitions(): array
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Subscriber/PublishInTheFuture.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use EzSystems\Behat\Event\Events;
use EzSystems\Behat\Event\TransitionEvent;
use EzSystems\DateBasedPublisher\API\Repository\DateBasedPublishServiceInterface;
use Ibexa\Workflow\Tests\Behat\Facade\WorkflowFacade;
use Ibexa\Workflow\Behat\Facade\WorkflowFacade;
use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
Expand All @@ -24,7 +24,7 @@ class PublishInTheFuture extends AbstractProcessStage implements EventSubscriber
/** @var \EzSystems\DateBasedPublisher\API\Repository\DateBasedPublishServiceInterface */
private $dateBasedPublisherService;

/** @var \Ibexa\Workflow\Tests\Behat\Facade\WorkflowFacade */
/** @var \Ibexa\Workflow\Behat\Facade\WorkflowFacade */
private $workflowFacade;

public function __construct(
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Subscriber/Review.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use EzSystems\Behat\API\ContentData\RandomDataGenerator;
use EzSystems\Behat\Event\Events;
use EzSystems\Behat\Event\TransitionEvent;
use Ibexa\Workflow\Tests\Behat\Facade\WorkflowFacade;
use Ibexa\Workflow\Behat\Facade\WorkflowFacade;
use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
Expand All @@ -28,7 +28,7 @@ class Review extends AbstractProcessStage implements EventSubscriberInterface
/** @var \eZ\Publish\API\Repository\ContentService */
private $contentService;

/** @var \Ibexa\Workflow\Tests\Behat\Facade\WorkflowFacade */
/** @var \Ibexa\Workflow\Behat\Facade\WorkflowFacade */
private $workflowFacade;

protected function getTransitions(): array
Expand Down

0 comments on commit 1358cb3

Please sign in to comment.