Add test for retry wrapper

This commit is contained in:
Robin Appelman 2016-03-16 14:37:52 +01:00
commit af7f329db7
2 changed files with 56 additions and 1 deletions

View file

@ -20,7 +20,7 @@ class RetryWrapper extends Wrapper {
*/
public static function wrap($source) {
$context = stream_context_create(array(
'callback' => array(
'retry' => array(
'source' => $source
)
));