mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Proper delete of bridge API
This commit is contained in:
@@ -50,7 +50,8 @@ class BridgeApplication extends PhraseanetWebTestCaseAuthenticatedAbstract
|
|||||||
public function tearDown()
|
public function tearDown()
|
||||||
{
|
{
|
||||||
parent::tearDown();
|
parent::tearDown();
|
||||||
self::$api->delete();
|
if(self::$api instanceof Bridge_Api)
|
||||||
|
self::$api->delete();
|
||||||
if (self::$account instanceof Bridge_Account)
|
if (self::$account instanceof Bridge_Account)
|
||||||
self::$account->delete();
|
self::$account->delete();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user