Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.

Commit 0f6245a

Browse files
committed
Fix WordPress tests + Update changelog
1 parent 716a8e7 commit 0f6245a

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

CHANGELOG.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# ChangeLog
22

3-
## Unreleased
3+
## 1.0.0
44

5-
...
5+
- Use PHP proxy-sdk version 1.0.0
6+
- Require the project key in WordPress dashboard
67

7-
## 1.0.0 - 2018-03-02
8+
## 0.1.0
89

9-
### Added
10-
11-
- Initial release
10+
- Add initial release

Tests/RedirectionIOTest.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function add_action()
1414

1515
function get_option()
1616
{
17-
return RedirectionIOTest::$connections;
17+
return RedirectionIOTest::$options;
1818
}
1919

2020
function get_site_url()
@@ -60,7 +60,8 @@ function status_header($statusCode)
6060
*/
6161
class RedirectionIOTest extends TestCase
6262
{
63-
public static $connections = [
63+
public static $options = [
64+
'projectKey' => 'szio2389-bfdz-51e8-8468-02dcop129501:ep6a4805-eo6z-dzo6-aeb0-8c1lbmo40242',
6465
'connections' => [
6566
[
6667
'name' => 'agent',
@@ -127,7 +128,8 @@ public function testWhenRedirectRuleNotExists()
127128

128129
public function testWhenAgentDown()
129130
{
130-
self::$connections = [
131+
self::$options = [
132+
'projectKey' => self::$options['projectKey'],
131133
'connections' => [
132134
[
133135
'name' => 'agent',

0 commit comments

Comments
 (0)