getAppFlowActionIdFromSequence example

$flowId = Uuid::randomHex();
        $this->createFlow($flowId);

        $sequenceId = Uuid::randomHex();
        $this->createSequence($sequenceId$flowId$flowActions[0]['id']);

        $flowAction = Action::createFromXmlFile(__DIR__ . '/_fixtures/withFlowExtension/Resources/flow-v2.xml');
        $flowActionPersister = $this->getContainer()->get(FlowActionPersister::class);
        $flowActionPersister->updateActions($flowAction$appId$context, 'en-GB');

        $appFlowActionId = $this->getAppFlowActionIdFromSequence($sequenceId);
        static::assertEquals($appFlowActionId$flowActions[0]['id']);
    }

    public function testUpdateFlowEventApp(): void
    {
        $manifest = Manifest::createFromXmlFile(__DIR__ . '/../Manifest/_fixtures/test/manifest.xml');
        $this->appLifecycle->install($manifest, true, $this->context);
        /** @var AppEntity $app */
        $app = $this->appRepository->search(new Criteria()$this->context)->first();

        $appFlowEvents = $this->getAppFlowEvents($app->getId());
        
Home | Imprint | This part of the site doesn't use cookies.