You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, the tests are not working though I did everything according to readme.
I have symfony app.
My worker.test.php
require dirname(__DIR__) . '/vendor/autoload.php';
use App\ProductImportProcess\App\Activity\ProductImportFlowActivity;
use App\ProductImportProcess\App\Workflow\ProductImportWorkflow;
use RoadRunner\VersionChecker\Version\Installed;
use RoadRunner\VersionChecker\VersionChecker;
use Temporal\Testing\WorkerFactory;
use Temporal\Worker\Transport\RoadRunner;
use Temporal\Worker\Transport\RoadRunnerVersionChecker;
$factory = WorkerFactory::create();
$worker = $factory->newWorker();
/**
* @TODO Сделать добавление автоматическим.
*/
$worker->registerWorkflowTypes(ProductImportWorkflow::class);
$worker->registerActivity(ProductImportFlowActivity::class);
//$worker->registerActivity(FetchProductTemplateActivity::class);
$factory->run(
RoadRunner::create(
versionChecker: new RoadRunnerVersionChecker(
checker: new VersionChecker(
installedVersion: new Installed(executablePath: 'rr')
)
)
)
);
Hello, the tests are not working though I did everything according to readme.
I have symfony app.
My worker.test.php
My tests/.rr.test.yaml
My tests bootstrap.php
My test
I run my test with php unit and getting this - it just hangs
The text was updated successfully, but these errors were encountered: