Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1230dacfa2 | |||
| 1dc3c7ce07 |
@@ -43,6 +43,9 @@ RUN apt-get update && \
|
|||||||
# Copy the compiled binary from the build stage
|
# Copy the compiled binary from the build stage
|
||||||
COPY --from=build /app/server ./server
|
COPY --from=build /app/server ./server
|
||||||
|
|
||||||
|
# Quote PDF branding asset loaded at runtime by pdf generation
|
||||||
|
COPY logo.png ./logo.png
|
||||||
|
|
||||||
# Copy Prisma artifacts needed at runtime
|
# Copy Prisma artifacts needed at runtime
|
||||||
COPY --from=build /app/generated/ ./generated/
|
COPY --from=build /app/generated/ ./generated/
|
||||||
COPY --from=build /app/prisma/ ./prisma/
|
COPY --from=build /app/prisma/ ./prisma/
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ describe("transitionToInternalReview", () => {
|
|||||||
// ═══════════════════════════════════════════════════════════════════════════
|
// ═══════════════════════════════════════════════════════════════════════════
|
||||||
|
|
||||||
describe("handleReviewDecision", () => {
|
describe("handleReviewDecision", () => {
|
||||||
test("approve → PendingSent", async () => {
|
test("approve → ReadyToSend", async () => {
|
||||||
const opp = makeOpportunity({
|
const opp = makeOpportunity({
|
||||||
statusCwId: OpportunityStatus.InternalReview,
|
statusCwId: OpportunityStatus.InternalReview,
|
||||||
});
|
});
|
||||||
@@ -342,7 +342,7 @@ describe("handleReviewDecision", () => {
|
|||||||
note: "Looks good",
|
note: "Looks good",
|
||||||
});
|
});
|
||||||
expect(result.success).toBe(true);
|
expect(result.success).toBe(true);
|
||||||
expect(result.newStatusId).toBe(OpportunityStatus.PendingSent);
|
expect(result.newStatusId).toBe(OpportunityStatus.ReadyToSend);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("reject → PendingRevision", async () => {
|
test("reject → PendingRevision", async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user