mirror of
https://github.com/shlinkio/shlink.git
synced 2025-01-23 15:03:19 -06:00
Improved TagRepositoryTest
This commit is contained in:
parent
14eeb91c58
commit
380915948b
@ -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 New Issue
Block a user