ultisuite-backend/internal/nextcloud/client_test.go
R3D347HR4Y 1d063237b9
Some checks are pending
CI / Go tests (push) Waiting to run
CI / Integration tests (push) Waiting to run
CI / DB migrations (push) Waiting to run
feat(transcription): integrate Faster Whisper for Jitsi transcriptions
- Added support for Faster Whisper transcription via Jigasi and Skynet.
- Updated .env.example to include new environment variables for transcription settings.
- Enhanced Jitsi Docker Compose configuration to include Skynet and Jigasi services.
- Introduced new API endpoints for managing organizational folders in the drive service.
- Updated Nextcloud initialization script to enable external file mounting.
- Improved error handling and response structures in the drive API.
- Added new properties for organization settings related to transcription and agenda management.
2026-06-12 19:10:18 +02:00

17 lines
498 B
Go

package nextcloud
import "testing"
func TestJoinBaseURL(t *testing.T) {
base := "http://nextcloud:80"
got := joinBaseURL(base, "remote.php/dav/calendars/user/personal/event.ics")
want := "http://nextcloud:80/remote.php/dav/calendars/user/personal/event.ics"
if got != want {
t.Fatalf("joinBaseURL = %q, want %q", got, want)
}
got = joinBaseURL(base, "/remote.php/dav/calendars/user/personal/event.ics")
if got != want {
t.Fatalf("joinBaseURL with slash = %q, want %q", got, want)
}
}