Skip to content

Commit

Permalink
Merge pull request #201 from WycliffeAssociates/patch-for-failing-test
Browse files Browse the repository at this point in the history
Fixed wrong endpoint for POST request
  • Loading branch information
linearcombination authored Jun 7, 2024
2 parents 1f1fcbb + ce94a88 commit 0e10919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1686,14 +1686,14 @@ def test_en_ulb_wa_col_en_tn_condensed_col_language_book_order_with_no_email_1c(
"""
with TestClient(app=app, base_url=settings.api_test_url()) as client:
response = client.post(
"/documents_docx",
"/documents",
json={
# "email_address": settings.TO_EMAIL_ADDRESS,
"assembly_strategy_kind": model.AssemblyStrategyEnum.LANGUAGE_BOOK_ORDER,
"assembly_layout_kind": model.AssemblyLayoutEnum.ONE_COLUMN,
"layout_for_print": False,
"chunk_size": model.ChunkSizeEnum.CHAPTER,
"generate_pdf": False,
"generate_pdf": True,
"generate_epub": False,
"generate_docx": False,
"resource_requests": [
Expand Down

0 comments on commit 0e10919

Please sign in to comment.