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
This commit is contained in:
+1
-1
@@ -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}')
|
||||
|
||||
@@ -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
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[0;31m✗ FAIL[0m: Failed to create library (HTTP 500)
|
||||
Response: {"error":"invalid library type: no rows in result set"}
|
||||
[0;32m✓ PASS[0m: Library created successfully (ID: 045a4d5a-c1ce-4933-b990-e92fa834c8cb)
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
Step 3: Add /app/uploads Folder to Library
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[0;32m✓ PASS[0m: Folder added to library
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
Step 4: Scan Library
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[0;32m✓ PASS[0m: Library scan initiated
|
||||
[1;33m→ INFO[0m: Waiting 5 seconds for scan to complete...
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
Step 5: List Media Items
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[0;32m✓ PASS[0m: Media items listed successfully
|
||||
[1;33m→ INFO[0m: Found 0 media items
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
Step 6: Device Registration
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[0;32m✓ PASS[0m: Device registration initiated
|
||||
[1;33m→ INFO[0m: Registration ID: e96a9fba-5723-4520-8ea5-67e2a06e041f
|
||||
[0;32m✓ PASS[0m: Registration status is pending as expected
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
Step 7: List User Devices
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[0;32m✓ PASS[0m: Devices listed successfully
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
Test Summary
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Total Tests: 9
|
||||
Passed: 9
|
||||
Failed: 0
|
||||
|
||||
[0;32mAll tests passed![0m
|
||||
|
||||
Completed at: Fri Jan 30 08:12:25 PM EST 2026
|
||||
========================================
|
||||
|
||||
Reference in New Issue
Block a user