Skip to content

Commit

Permalink
Merge branch 'hotfix/4.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Jul 5, 2018
2 parents a8a6eca + 057eea9 commit c86c642
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,11 @@ All notable changes to `splas-php` will be documented in this file.

Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com) principles.

## v4.2.1 - 2018-07-05

### Changed
- Change usage of API key in the tests

## v4.2.0 - 2018-07-05

### Added
Expand Down
7 changes: 1 addition & 6 deletions tests/SplasTest.php
Expand Up @@ -9,11 +9,6 @@
*/
class SplasTest extends TestCase
{
/**
* Testing key for unit tests.
*/
private const TEST_KEY = '397172750322145e4ccc8077eff2f628979e8ffa03fa51524d53629e7178d910';

/**
* @var Splas
*/
Expand All @@ -24,7 +19,7 @@ class SplasTest extends TestCase
*/
public function setUp()
{
$this->splasInstance = new Splas(self::TEST_KEY);
$this->splasInstance = new Splas(getenv('UNSPLASH_API_KEY'));
}

/**
Expand Down

0 comments on commit c86c642

Please sign in to comment.