public function ShareaholicCurlMultiShareCountsTest::setUp in Share Buttons, Related Posts, Content Analytics - Shareaholic 8
Same name and namespace in other branches
- 7.3 lib/social-share-counts/curl_multi_share_count_test.php \ShareaholicCurlMultiShareCountsTest::setUp()
File
- lib/
social-share-counts/ curl_multi_share_count_test.php, line 7
Class
Code
public function setUp() {
$this->url = 'https://www.google.com';
$this->services = array_keys(ShareaholicCurlMultiShareCount::get_services_config());
$this->options = array();
$this->share_count = new ShareaholicCurlMultiShareCount($this->url, $this->services, $this->options);
// all callbacks take a predefined response structure
$this->response = array(
'response' => array(
'code' => 200,
),
);
}