From 291e24acf17d54a05ce69749d393c6c44f3c26ff Mon Sep 17 00:00:00 2001 From: Pierre-Henry Soria Date: Sun, 2 Jul 2017 00:33:58 +0100 Subject: [PATCH] Change main domain, more likely to work Lazy way LOL --- src/Service/Provider/TAC/EveFlirt.php | 6 +++--- tests/Service/Provider/TAC/EveFlirtTest.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Service/Provider/TAC/EveFlirt.php b/src/Service/Provider/TAC/EveFlirt.php index f10ad27..77d1c16 100644 --- a/src/Service/Provider/TAC/EveFlirt.php +++ b/src/Service/Provider/TAC/EveFlirt.php @@ -14,8 +14,8 @@ class EveFlirt implements Providable { const MAX_PASSWORD_LENGTH = 8; - const FORM_URL = 'https://www.idilys.com'; - const FORM_ACTION_URI = 'login/registerProcess/?cf0=&cf1=P13°ree=soft'; + const FORM_URL = 'http://love-rencontre.wekiss.net'; + const FORM_ACTION_URI = 'login/registerProcess/'; const PLATFORM_FIELD = 'account[created_from]'; const TOS_FIELD = 'account[cgv]'; @@ -55,6 +55,6 @@ public function getUrl() */ public function getFormAction() { - return self::FORM_ACTION_URI . '&comfrom=' . $this->affiliateId->getValue(); + return self::FORM_ACTION_URI . '?comfrom=' . $this->affiliateId->getValue(); } } \ No newline at end of file diff --git a/tests/Service/Provider/TAC/EveFlirtTest.php b/tests/Service/Provider/TAC/EveFlirtTest.php index 69a6d90..a1f40fe 100644 --- a/tests/Service/Provider/TAC/EveFlirtTest.php +++ b/tests/Service/Provider/TAC/EveFlirtTest.php @@ -27,11 +27,11 @@ protected function setUp() public function testUrl() { - $this->assertSame('https://www.idilys.com', $this->everFlirt->getUrl()); + $this->assertSame('http://love-rencontre.wekiss.net', $this->everFlirt->getUrl()); } public function testFormAction() { - $this->assertSame('login/registerProcess/?cf0=&cf1=P13°ree=soft&comfrom=123', $this->everFlirt->getFormAction()); + $this->assertSame('login/registerProcess/?comfrom=123', $this->everFlirt->getFormAction()); } } \ No newline at end of file