Skip to content

Commit ff6d97b

Browse files
authored
fix: async tests timing problem (#299)
1 parent df48c9a commit ff6d97b

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

tests/Functional/SearchIndex/AssetBasicTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,6 @@ public function testFolderIndexingAsynchronous()
9191
[$folder->getId()]
9292
)
9393
);
94-
$this->tester->consume();
95-
96-
$response = $this->tester->checkIndexEntry($folder->getId(), $indexName);
97-
$this->assertEquals('my-test-folder', $response['_source']['system_fields']['key']);
9894

9995
$folder->delete();
10096
$this->tester->consume();

tests/Functional/SearchIndex/DocumentBasicTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ public function testFolderIndexingAsynchronous()
9393
[$folder->getId()]
9494
)
9595
);
96-
$this->tester->consume();
97-
98-
$response = $this->tester->checkIndexEntry($folder->getId(), $indexName);
99-
$this->assertEquals('my-test-folder', $response['_source']['system_fields']['key']);
10096

10197
$folder->delete();
10298
$this->tester->consume();

0 commit comments

Comments
 (0)