mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-19 07:53:14 +00:00
Proper delete of bridge API
This commit is contained in:
@@ -50,6 +50,7 @@ class BridgeApplication extends PhraseanetWebTestCaseAuthenticatedAbstract
|
|||||||
public function tearDown()
|
public function tearDown()
|
||||||
{
|
{
|
||||||
parent::tearDown();
|
parent::tearDown();
|
||||||
|
if(self::$api instanceof Bridge_Api)
|
||||||
self::$api->delete();
|
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