Skip to content

Commit 332363a

Browse files
IBX-10631: Known issue revival
1 parent ec6f031 commit 332363a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
/**
4+
* @copyright Copyright (C) Ibexa AS. All rights reserved.
5+
* @license For full copyright and license information view LICENSE file distributed with this source code.
6+
*/
7+
declare(strict_types=1);
8+
9+
namespace Ibexa\Behat\Core\Log\Failure\KnownIssues;
10+
11+
use Ibexa\Behat\Core\Log\Failure\TestFailureData;
12+
13+
class ContentTypeCreatedInTheBackground implements KnownIssueInterface
14+
{
15+
public function matches(TestFailureData $testFailureData): bool
16+
{
17+
return $testFailureData->applicationLogContainsFragment('DefaultChoiceListFactory') &&
18+
($testFailureData->applicationLogContainsFragment('Warning: Undefined array key') ||
19+
$testFailureData->applicationLogContainsFragment('Notice: Undefined index'));
20+
}
21+
22+
public function getJiraReference(): string
23+
{
24+
return 'https://issues.ibexa.co/browse/IBX-10631';
25+
}
26+
}

0 commit comments

Comments
 (0)