Updated API tests so that fixture short URLs are created with matching short codes and different domains

This commit is contained in:
Alejandro Celaya
2020-02-02 09:51:17 +01:00
parent 75cd9774b7
commit aa80c2bb82
4 changed files with 66 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ interface VisitsTrackerInterface
/**
* Tracks a new visit to provided short code from provided visitor
*/
public function track(ShortUrl $shortUrl, Visitor $visitor): void; // FIXME
public function track(ShortUrl $shortUrl, Visitor $visitor): void;
/**
* Returns the visits on certain short code
@@ -25,5 +25,5 @@ interface VisitsTrackerInterface
* @return Visit[]|Paginator
* @throws ShortUrlNotFoundException
*/
public function info(ShortUrlIdentifier $identifier, VisitsParams $params): Paginator; // FIXME
public function info(ShortUrlIdentifier $identifier, VisitsParams $params): Paginator;
}