From 5470b3c48d8c94c482345b79a3c33239cdfd7aca Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Thu, 7 Jan 2016 20:09:38 +0000 Subject: [PATCH] Support \VCR\VCR::configure()->setStorage Allow VCR configuration to be used, instead of forcing a fallback to YAML cassette storage. Fixes #9 --- PHPUnit/Util/Log/VCR.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/PHPUnit/Util/Log/VCR.php b/PHPUnit/Util/Log/VCR.php index 9b14495..0e851a1 100644 --- a/PHPUnit/Util/Log/VCR.php +++ b/PHPUnit/Util/Log/VCR.php @@ -125,8 +125,6 @@ public function startTest(PHPUnit_Framework_Test $test) // If the cassette name ends in .json, then use the JSON storage format if (substr($cassetteName, '-5') == '.json') { \VCR\VCR::configure()->setStorage('json'); - } else { - \VCR\VCR::configure()->setStorage('yaml'); } if (empty($cassetteName)) {