Skip to content

Commit

Permalink
Fixed VCR issues
Browse files Browse the repository at this point in the history
1. Added the recordings to .gitignore.
2. Fixed argument order in the call to implode().
  • Loading branch information
morozov committed Dec 7, 2019
1 parent e7796e1 commit 49fc434
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/tests/fixtures/vcr_cassettes
/tmp
/vendor/
/build
Expand Down
2 changes: 1 addition & 1 deletion src/PhpBrew/Testing/VCRAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ protected static function getVCRCassetteName($testInstance)
{
$classname_parts = explode('\\', get_class($testInstance));

return join(array_slice($classname_parts, -2, 2), '/');
return join('/', array_slice($classname_parts, -2, 2));
}
}

0 comments on commit 49fc434

Please sign in to comment.