Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Add fixtures option to Config #15

Open
hassankhan opened this issue Mar 8, 2016 · 0 comments
Open

Add fixtures option to Config #15

hassankhan opened this issue Mar 8, 2016 · 0 comments

Comments

@hassankhan
Copy link
Member

Expected Behavior

$opts = ['fixtures' => true];
$client = new Instagram(..., $opts);

// Now uses fixtures from `tests/fixtures`

Possible Solution

Simple addition to Config

Context

Will allow for easy switching between live and mocked responses - even in tests!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant