Skip to content

Commit 20098f9

Browse files
committed
Reduce code duplication
1 parent b869456 commit 20098f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/MongoLoggerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ public function logObjectMessage()
104104
$collectionMock = $this->getMongoCollectionMockWithAsserts(
105105
LogLevel::INFO,
106106
__FILE__,
107-
['some' => ['nested' => ['data']]],
107+
['foo' => 'bar'],
108108
null
109109
);
110110
(new MongoLogger($collectionMock))->log(
111111
LogLevel::INFO,
112112
new \SplFileInfo(__FILE__),
113-
['some' => ['nested' => ['data']]]
113+
['foo' => 'bar']
114114
);
115115
}
116116

0 commit comments

Comments
 (0)