$this->appService->
doRefreshApps(true,
$this->context
);
/** @var AppCollection $apps */
$apps =
$this->appRepository->
search(new Criteria(),
$this->context
)->
getEntities();
static::
assertCount(1,
$apps);
$first =
$apps->
first();
static::
assertInstanceOf(AppEntity::
class,
$first);
static::
assertEquals('test',
$first->
getName());
$this->
assertDefaultActionButtons();
} public function testRefreshUpdatesApp(): void
{ $this->appRepository->
create([[ 'name' => 'test',
'path' => __DIR__ . '/Manifest/_fixtures/test',
'version' => '0.0.1',
'label' => 'test',
'accessToken' => 'test',
'appSecret' => 's3cr3t',