File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
src/lib/Core/Log/Failure/KnownIssues Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments