Skip to content

Commit

Permalink
Merge pull request #2 from MBoretto/changedeleteorder
Browse files Browse the repository at this point in the history
  • Loading branch information
noplanman committed Mar 13, 2016
2 parents ca9bff2 + 60cf814 commit 97755aa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/TestHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,16 @@ public static function emptyDB(array $credentials)
$pdo = new \PDO($dsn, $credentials['user'], $credentials['password'], $options);
$pdo->prepare('
DELETE FROM `conversation`;
DELETE FROM `telegram_update`;
DELETE FROM `chosen_inline_query`;
DELETE FROM `inline_query`;
DELETE FROM `message`;
DELETE FROM `user_chat`;
DELETE FROM `user`;
DELETE FROM `chat`;
DELETE FROM `chosen_inline_query`;
DELETE FROM `inline_query`;
DELETE FROM `telegram_update`;
DELETE FROM `user`;
')->execute();
} catch (\Exception $e) {
//Ignore...
throw new TelegramException($e->getMessage());
}
}
}

0 comments on commit 97755aa

Please sign in to comment.