6275-silex-to-salix #1878
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1878
Loading…
Reference in New Issue
No description provided.
Delete Branch "6275-silex-to-salix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +8,4 @@
IF (NEW.ticketFk IS NOT NULL)
THEN
UPDATE address
SET longitude = NEW.longitude,
si son null les volem guardar també?
Modificat per a que no es guarde
@ -0,0 +26,4 @@
FOR EACH ROW
BEGIN
IF (NEW.longitude <> OLD.longitude OR NEW.latitude <> OLD.latitude OR NEW.ticketFk <> OLD.ticketFk)
hacer pruebas con valores NULL
Modificat
@ -0,0 +1,64 @@
module.exports = Self => {
Self.remoteMethod('getExpeditionSummary', {
si ja va a dev faltaria el test de back
Pujat
@ -0,0 +5,4 @@
it('should return a summary of expeditions for a route', async() => {
const result = await app.models.Route.getExpeditionSummary(routeId);
expect(result.length).toEqual(3);
busca un test que te un map en el que es recorre que tots els registres tenen la routeId = 3 així el test es dinamic
Modificat test