mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-24 13:49:03 +03:00
Improved TagRepositoryTest
This commit is contained in:
parent
14eeb91c58
commit
380915948b
1 changed files with 3 additions and 0 deletions
|
@ -145,15 +145,18 @@ class TagRepositoryTest extends DatabaseTestCase
|
|||
self::assertTrue($this->repo->tagExists('bar'));
|
||||
self::assertTrue($this->repo->tagExists('baz'));
|
||||
self::assertTrue($this->repo->tagExists('another'));
|
||||
self::assertFalse($this->repo->tagExists('invalid'));
|
||||
|
||||
self::assertTrue($this->repo->tagExists('foo', $authorApiKey));
|
||||
self::assertTrue($this->repo->tagExists('bar', $authorApiKey));
|
||||
self::assertTrue($this->repo->tagExists('baz', $authorApiKey));
|
||||
self::assertFalse($this->repo->tagExists('another', $authorApiKey));
|
||||
self::assertFalse($this->repo->tagExists('invalid', $authorApiKey));
|
||||
|
||||
self::assertFalse($this->repo->tagExists('foo', $domainApiKey));
|
||||
self::assertFalse($this->repo->tagExists('bar', $domainApiKey));
|
||||
self::assertFalse($this->repo->tagExists('baz', $domainApiKey));
|
||||
self::assertTrue($this->repo->tagExists('another', $domainApiKey));
|
||||
self::assertFalse($this->repo->tagExists('invalid', $domainApiKey));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue