aboutsummaryrefslogtreecommitdiff
path: root/tests/Environments/ServiceEnvironmentTest.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-07-15 14:11:50 +0300
committerValentin Popov <info@valentineus.link>2020-07-15 14:11:50 +0300
commit63ba3120648cbcde5ebd818f90ad832539b1a9af (patch)
treeb78150ea8e9affe9cc5426eeb1fb4e49b53b55a6 /tests/Environments/ServiceEnvironmentTest.php
parentecabedfa1f7a8cbba7a522ca8440b82063d04686 (diff)
downloadphp-epg-service-63ba3120648cbcde5ebd818f90ad832539b1a9af.tar.xz
php-epg-service-63ba3120648cbcde5ebd818f90ad832539b1a9af.zip
Updated method “getUrl()”
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'tests/Environments/ServiceEnvironmentTest.php')
-rw-r--r--tests/Environments/ServiceEnvironmentTest.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/Environments/ServiceEnvironmentTest.php b/tests/Environments/ServiceEnvironmentTest.php
index 792fcd1..b14d909 100644
--- a/tests/Environments/ServiceEnvironmentTest.php
+++ b/tests/Environments/ServiceEnvironmentTest.php
@@ -29,15 +29,7 @@ use PHPUnit\Framework\TestCase;
* @package Tests\Environments
*/
final class ServiceEnvironmentTest extends TestCase {
- public function testGetUrlWithMethod(): void {
- $key = Faker::create()->sha256;
- $method = Faker::create()->sha256;
- $url = ServiceEnvironment::create($key)->getUrl($method);
- self::assertStringContainsString($key, $url);
- self::assertStringContainsString($method, $url);
- }
-
- public function testGetUrlWithoutMethod(): void {
+ public function testGetUrl(): void {
$key = Faker::create()->sha256;
$url = ServiceEnvironment::create($key)->getUrl();
self::assertStringContainsString($key, $url);