From 9789bc25a7f04dd7c8e3872caef2d5f2b7f7f2f2 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Fri, 30 Jan 2026 20:16:28 -0500 Subject: [PATCH] Fix integration test library type and update results - Fix library type from 'ebook' to 'ebooks' in integration test - Update test results showing all 9 tests passing --- integration_test.sh | 2 +- integration_test_results.txt | 47 +++++++++++++++++++++++++++++++++--- 2 files changed, 45 insertions(+), 4 deletions(-) diff --git a/integration_test.sh b/integration_test.sh index d8ea034..a5a1561 100755 --- a/integration_test.sh +++ b/integration_test.sh @@ -158,7 +158,7 @@ main() { -d '{ "name": "Integration Test Library", "description": "Library for integration testing", - "type": "ebook" + "type": "ebooks" }') LIB_STATUS=$(echo "$LIBRARY_RESPONSE" | grep "HTTP Status:" | awk '{print $3}') diff --git a/integration_test_results.txt b/integration_test_results.txt index 3e74fea..10091c0 100644 --- a/integration_test_results.txt +++ b/integration_test_results.txt @@ -1,6 +1,6 @@ ======================================== Bookmann Integration Test Run -Started at: Fri Jan 30 04:53:44 PM EST 2026 +Started at: Fri Jan 30 08:12:20 PM EST 2026 ======================================== @@ -22,5 +22,46 @@ Started at: Fri Jan 30 04:53:44 PM EST 2026 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Step 2: Create First Library with eBook Type ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -✗ FAIL: Failed to create library (HTTP 500) -Response: {"error":"invalid library type: no rows in result set"} +✓ PASS: Library created successfully (ID: 045a4d5a-c1ce-4933-b990-e92fa834c8cb) + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + Step 3: Add /app/uploads Folder to Library +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +✓ PASS: Folder added to library + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + Step 4: Scan Library +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +✓ PASS: Library scan initiated +→ INFO: Waiting 5 seconds for scan to complete... + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + Step 5: List Media Items +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +✓ PASS: Media items listed successfully +→ INFO: Found 0 media items + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + Step 6: Device Registration +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +✓ PASS: Device registration initiated +→ INFO: Registration ID: e96a9fba-5723-4520-8ea5-67e2a06e041f +✓ PASS: Registration status is pending as expected + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + Step 7: List User Devices +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +✓ PASS: Devices listed successfully + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + Test Summary +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +Total Tests: 9 +Passed: 9 +Failed: 0 + +All tests passed! + +Completed at: Fri Jan 30 08:12:25 PM EST 2026 +========================================