Skip to content

Commit 5470b3c

Browse files
committed
Support \VCR\VCR::configure()->setStorage
Allow VCR configuration to be used, instead of forcing a fallback to YAML cassette storage. Fixes #9
1 parent 2e47afc commit 5470b3c

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
@@ -125,8 +125,6 @@ public function startTest(PHPUnit_Framework_Test $test)
125125
// If the cassette name ends in .json, then use the JSON storage format
126126
if (substr($cassetteName, '-5') == '.json') {
127127
\VCR\VCR::configure()->setStorage('json');
128-
} else {
129-
\VCR\VCR::configure()->setStorage('yaml');
130128
}
131129

132130
if (empty($cassetteName)) {

0 commit comments

Comments
 (0)