Skip to content

Commit 3b8efde

Browse files
author
Inbal Tako
committed
Fix phpunit
1 parent 65ffba5 commit 3b8efde

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
- uses: nanasess/setup-php@master
2828

2929
- name: Run tests
30-
# run: php test/AgentTest.php && php test/SecureNativeTest.php
31-
run: pwd
30+
run: php test/AgentTest.php && php test/SecureNativeTest.php
3231

3332
- name: Publish to codecov
3433
run: bash <(curl -s https://codecov.io/bash)

test/AgentTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
use SecureNative\sdk\EventTypes;
44
use SecureNative\sdk\SecureNative;
55
use SecureNative\sdk\SecureNativeContext;
6-
use PHPUnit\Framework\TestCase;
76
use SecureNative\sdk\SecureNativeOptions;
87

9-
final class AgentTest extends TestCase
8+
final class AgentTest extends PHPUnit_Framework_TestCase
109
{
1110
const TEST_API_KEY = 'sample_key';
1211
/**

test/SecureNativeTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
declare(strict_types=1);
33

44
use GuzzleHttp\Exception\RequestException;
5-
use PHPUnit\Framework\TestCase;
65
use SecureNative\sdk\SecureNative;
76
use SecureNative\sdk\SecureNativeOptions;
87
use SecureNative\sdk\Utils;
98
use SecureNative\sdk\VerifyResult;
109

1110
const TEST_API_KEY = 'sample_key';
1211

13-
final class SecureNativeTest extends TestCase
12+
final class SecureNativeTest extends PHPUnit_Framework_TestCase
1413
{
1514

1615
/**

0 commit comments

Comments
 (0)