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