Skip to content

Commit 7d477cc

Browse files
committed
The test is now correct
1 parent 17434b9 commit 7d477cc

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tests/bson/bug0939-001.phpt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ object(MongoDB\BSON\Binary)#%d (%d) {
3838
["type"]=>
3939
int(0)
4040
}
41-
MongoDB\BSON\Binary::$data exists: yes
42-
MongoDB\BSON\Binary::$type exists: yes
41+
MongoDB\BSON\Binary::$data exists: no
42+
MongoDB\BSON\Binary::$type exists: no
4343

4444
object(MongoDB\BSON\Decimal128)#%d (%d) {
4545
["dec"]=>
4646
string(4) "3.14"
4747
}
48-
MongoDB\BSON\Decimal128::$dec exists: yes
48+
MongoDB\BSON\Decimal128::$dec exists: no
4949

5050
object(MongoDB\BSON\Javascript)#%d (%d) {
5151
["code"]=>
@@ -56,8 +56,8 @@ object(MongoDB\BSON\Javascript)#%d (%d) {
5656
int(42)
5757
}
5858
}
59-
MongoDB\BSON\Javascript::$code exists: yes
60-
MongoDB\BSON\Javascript::$scope exists: yes
59+
MongoDB\BSON\Javascript::$code exists: no
60+
MongoDB\BSON\Javascript::$scope exists: no
6161

6262
object(MongoDB\BSON\MaxKey)#%d (%d) {
6363
}
@@ -69,30 +69,30 @@ object(MongoDB\BSON\ObjectId)#%d (%d) {
6969
["oid"]=>
7070
string(24) "%x"
7171
}
72-
MongoDB\BSON\ObjectId::$oid exists: yes
72+
MongoDB\BSON\ObjectId::$oid exists: no
7373

7474
object(MongoDB\BSON\Regex)#%d (%d) {
7575
["pattern"]=>
7676
string(3) "foo"
7777
["flags"]=>
7878
string(1) "i"
7979
}
80-
MongoDB\BSON\Regex::$pattern exists: yes
81-
MongoDB\BSON\Regex::$flags exists: yes
80+
MongoDB\BSON\Regex::$pattern exists: no
81+
MongoDB\BSON\Regex::$flags exists: no
8282

8383
object(MongoDB\BSON\Timestamp)#%d (%d) {
8484
["increment"]=>
8585
string(4) "1234"
8686
["timestamp"]=>
8787
string(4) "5678"
8888
}
89-
MongoDB\BSON\Timestamp::$increment exists: yes
90-
MongoDB\BSON\Timestamp::$timestamp exists: yes
89+
MongoDB\BSON\Timestamp::$increment exists: no
90+
MongoDB\BSON\Timestamp::$timestamp exists: no
9191

9292
object(MongoDB\BSON\UTCDateTime)#%d (%d) {
9393
["milliseconds"]=>
9494
string(%d) "%d"
9595
}
96-
MongoDB\BSON\UTCDateTime::$milliseconds exists: yes
96+
MongoDB\BSON\UTCDateTime::$milliseconds exists: no
9797

9898
===DONE===

0 commit comments

Comments
 (0)