create([ 'nodes' => [ ['id' => 'a', 'type' => 'fetch_rss', 'position' => ['x' => 0, 'y' => 0], 'data' => []], ], 'connections' => [], ]); $run = AutomationRun::factory()->for($automation)->running('a')->create(); app(AdvanceAutomationRun::class)($run, 'a', 'no_items'); $run->refresh(); expect($run->status)->toBe(RunStatus::Completed); expect(data_get($run->error, 'reason'))->toBe('no_matching_edge'); expect(data_get($run->error, 'handle'))->toBe('no_items'); });