File tree Expand file tree Collapse file tree 2 files changed +69
-1
lines changed Expand file tree Collapse file tree 2 files changed +69
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class UnifiedTestRunnerTest extends FunctionalTestCase
8
8
{
9
9
public function testEntityMapObserver (): void
10
10
{
11
- $ test = UnifiedTestCase::fromFile (__DIR__ . '/crud/find .json ' );
11
+ $ test = UnifiedTestCase::fromFile (__DIR__ . '/runner/entity-map-observer .json ' );
12
12
$ calls = 0 ;
13
13
14
14
$ runner = new UnifiedTestRunner (static ::getUri ());
Original file line number Diff line number Diff line change
1
+ {
2
+ "description" : " find" ,
3
+ "schemaVersion" : " 1.0" ,
4
+ "createEntities" : [
5
+ {
6
+ "client" : {
7
+ "id" : " client0" ,
8
+ "useMultipleMongoses" : true ,
9
+ "observeEvents" : [
10
+ " commandStartedEvent"
11
+ ]
12
+ }
13
+ },
14
+ {
15
+ "database" : {
16
+ "id" : " database0" ,
17
+ "client" : " client0" ,
18
+ "databaseName" : " runner-tests"
19
+ }
20
+ },
21
+ {
22
+ "collection" : {
23
+ "id" : " collection0" ,
24
+ "database" : " database0" ,
25
+ "collectionName" : " coll0"
26
+ }
27
+ }
28
+ ],
29
+ "initialData" : [
30
+ {
31
+ "collectionName" : " coll0" ,
32
+ "databaseName" : " runner-tests" ,
33
+ "documents" : []
34
+ }
35
+ ],
36
+ "tests" : [
37
+ {
38
+ "description" : " basic find" ,
39
+ "operations" : [
40
+ {
41
+ "name" : " find" ,
42
+ "arguments" : {
43
+ "filter" : {}
44
+ },
45
+ "object" : " collection0" ,
46
+ "expectResult" : []
47
+ }
48
+ ],
49
+ "expectEvents" : [
50
+ {
51
+ "client" : " client0" ,
52
+ "events" : [
53
+ {
54
+ "commandStartedEvent" : {
55
+ "command" : {
56
+ "find" : " coll0" ,
57
+ "filter" : {}
58
+ },
59
+ "commandName" : " find" ,
60
+ "databaseName" : " runner-tests"
61
+ }
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ }
67
+ ]
68
+ }
You can’t perform that action at this time.
0 commit comments