Skip to content

Commit e29c11d

Browse files
committed
Merge pull request #10 from GaryJones/9-setstorage
Support \VCR\VCR::configure()->setStorage
2 parents 3538ac1 + 5470b3c commit e29c11d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

PHPUnit/Util/Log/VCR.php

-2
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ public function startTest(PHPUnit_Framework_Test $test)
138138
// If the cassette name ends in .json, then use the JSON storage format
139139
if (substr($cassetteName, '-5') == '.json') {
140140
\VCR\VCR::configure()->setStorage('json');
141-
} else {
142-
\VCR\VCR::configure()->setStorage('yaml');
143141
}
144142

145143
if (empty($cassetteName)) {

0 commit comments

Comments
 (0)