Commit 3753d9e6 authored by Mindiell's avatar Mindiell
Browse files

Correction du nom de table dans le test

parent 58d9c324
......@@ -40,11 +40,10 @@ class AddressHandler
if ($default != '' and $default != $addressId) {
// We have a default address which is not the current one
$this->connection->executeUpdate("UPDATE dons SET adresse_id = :default_id WHERE addresse_id = :id", $params);
$this->connection->executeUpdate("UPDATE dons SET adresse_id = :default_id WHERE adresse_id = :id", $params);
$this->connection->executeUpdate("UPDATE contreparties SET adresse_id= :default_id WHERE adresse_id = :id", $params);
} else {
// We do not have a default address and the address is used
// somehow.
// We do not have a default address and the address is used somehow
throw new AddressUsedException();
};
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment