Skip to content

Commit e1b2af3

Browse files
committed
Switch back to YML to allow both types in a test
1 parent 8ca97a7 commit e1b2af3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PHPUnit/Util/Log/VCR.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ public function startTest(PHPUnit_Framework_Test $test)
124124
// If the cassette name ends in .json, then use the JSON storage format
125125
if (substr($cassetteName, '-5') == '.json') {
126126
\VCR\VCR::configure()->setStorage('json');
127+
} else {
128+
\VCR\VCR::configure()->setStorage('yaml');
127129
}
128130

129131
if (empty($cassetteName)) {

0 commit comments

Comments
 (0)