File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ if (!file_exists (__DIR__ . "/../../vendor/autoload.php " )) {
4
+ die (
5
+ "\n[ERROR] You need to run composer before running the test suite. \n" .
6
+ "To do so run the following commands: \n" .
7
+ " curl -s http://getcomposer.org/installer | php \n" .
8
+ " php composer.phar install \n\n"
9
+ );
10
+ }
11
+
3
12
require_once __DIR__ . '/../../vendor/autoload.php ' ;
4
13
5
14
\VCR \VCR ::configure ()
6
15
->setCassettePath ('test/fixtures ' )
7
16
->enableLibraryHooks (array ('soap ' ))
8
- ->setWhitelist (['vendor/guzzle ' , 'vendor/willdurand ' , 'vendor/ruflin ' ])
9
- ->setBlacklist (['vendor/adri/ ' ]);
10
-
11
-
12
-
13
- // soap, curl
14
- \VCR \LibraryHooks \Wrapper::interceptIncludes (
15
- whitelist: ['vendor/guzzle ' , 'vendor/willdurand ' , 'vendor/ruflin ' ],
16
- blacklist: ['vendor/adri/ ' ]
17
- );
17
+ ->setWhitelist (array ('vendor/guzzle ' , 'vendor/willdurand ' , 'vendor/ruflin ' ))
18
+ ->setBlacklist (array ('vendor/adri/ ' ));
18
19
20
+ \VCR \VCR ::turnOn ();
You can’t perform that action at this time.
0 commit comments