ImboIntegrationTest\Database\DatabaseTests::testCanDeleteShortUrls PHP Method

testCanDeleteShortUrls() public method

    public function testCanDeleteShortUrls()
    {
        $shortUrlId = 'aaaaaaa';
        $user = 'user';
        $imageIdentifier = 'id';
        $this->assertTrue($this->adapter->insertShortUrl($shortUrlId, $user, $imageIdentifier));
        $this->assertTrue($this->adapter->deleteShortUrls($user, $imageIdentifier));
        $this->assertNull($this->adapter->getShortUrlParams($shortUrlId));
    }