Update documentation and API tests: Bookmann → Bookhoard
Documentation updates: - All docs/ files: Update project references - Bruno API collection: Update collection name and tests - Device setup guides: Update all examples - Implementation plan: Update database schema examples - README files: Update project references Part of project rename to Bookhoard.
This commit is contained in:
+5
-5
@@ -57,7 +57,7 @@ cmd/server/tests/
|
||||
export DATABASE_PASSWORD=postgres
|
||||
|
||||
# Option 2: Use DATABASE_URL for containerized testing
|
||||
export DATABASE_URL="postgresql://user:pass@localhost:5432/bookmann"
|
||||
export DATABASE_URL="postgresql://user:pass@localhost:5432/bookhoard"
|
||||
```
|
||||
|
||||
2. **Dependencies**: Ensure all Go dependencies are installed
|
||||
@@ -95,8 +95,8 @@ go test -v -run TestAnalyticsReadingStats
|
||||
```bash
|
||||
# Build and run tests in Docker container
|
||||
podman-compose up -d db
|
||||
podman build -t bookmann-test .
|
||||
podman run --network bookmann_default -e DATABASE_URL="postgresql://postgres:postgres@db:5432/bookmann" bookmann-test go test ./cmd/server/tests/ -v
|
||||
podman build -t bookhoard-test .
|
||||
podman run --network bookhoard_default -e DATABASE_URL="postgresql://postgres:postgres@db:5432/bookhoard" bookhoard-test go test ./cmd/server/tests/ -v
|
||||
```
|
||||
|
||||
### Test Modes
|
||||
@@ -452,7 +452,7 @@ jobs:
|
||||
postgres:
|
||||
image: postgres:15
|
||||
env:
|
||||
POSTGRES_DB: bookmann
|
||||
POSTGRES_DB: bookhoard
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
options: >-
|
||||
@@ -469,7 +469,7 @@ jobs:
|
||||
|
||||
- name: Run integration tests
|
||||
env:
|
||||
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/bookmann
|
||||
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/bookhoard
|
||||
run: |
|
||||
cd cmd/server/tests
|
||||
go test -v -race -coverprofile=coverage.out
|
||||
|
||||
Reference in New Issue
Block a user