get('/', ['X-Remote-User' => 'luci']); User::sole()->channels()->create([ 'type' => ChannelType::Webhook, 'config' => ['deliver_url' => 'https://ha.test/api/webhook/hado', 'presence_url' => 'https://ha.test/api/presence'], 'enabled' => true, ]); $this->get('/', ['X-Remote-User' => 'luci'])->assertOk() ->assertSee('https://ha.test/api/webhook/hado') ->assertSee('https://ha.test/api/presence') ->assertSeeInOrder(['доставка', 'https://ha.test/api/webhook/hado', 'присутствие', 'https://ha.test/api/presence']); } }