Skip to content

Commit

Permalink
Merge pull request #1 from pH-7/v3.0
Browse files Browse the repository at this point in the history
Change main domain, more likely to work
  • Loading branch information
pH-7 authored Jul 2, 2017
2 parents 4a2593b + 291e24a commit 04ddea4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Service/Provider/TAC/EveFlirt.php
Original file line number Diff line number Diff line change
Expand Up @@ -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&degree=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]';
Expand Down Expand Up @@ -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();
}
}
4 changes: 2 additions & 2 deletions tests/Service/Provider/TAC/EveFlirtTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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&degree=soft&comfrom=123', $this->everFlirt->getFormAction());
$this->assertSame('login/registerProcess/?comfrom=123', $this->everFlirt->getFormAction());
}
}

0 comments on commit 04ddea4

Please sign in to comment.