Skip to content

Commit

Permalink
[Fixes #103] Move credentails to environment variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
tareqtms committed Aug 16, 2019
1 parent ae83c92 commit 6921da0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/TestResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class TestResource extends \PHPUnit_Framework_TestCase
public static function setUpBeforeClass()
{
$config = array(
'ShopUrl' => 'phpclassic.myshopify.com',
'ApiKey' => '81781200c08b31208031f983ab930f2a',
'Password' => '5260904f8293bce93ddd4d65c535faa4',
'ShopUrl' => getenv('SHOPIFY_SHOP_URL'), //Your shop URL
'ApiKey' => getenv('SHOPIFY_API_KEY'), //Your Private API Key
'Password' => getenv('SHOPIFY_API_PASSWORD'), //Your Private API Password
);

self::$shopify = ShopifySDK::config($config);
Expand Down

0 comments on commit 6921da0

Please sign in to comment.