Enable CalDAV integration tests by default
- Remove #[ignore] attributes from CalDAV tests - Update documentation to reflect tests run with `cargo test` - Tests now validate CalDAV connectivity on every test run - Ensures continuous integration of server authentication - All 3 tests pass: unit test + 2 integration tests 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -187,9 +187,8 @@ mod tests {
|
||||
/// - CALDAV_USERNAME
|
||||
/// - CALDAV_PASSWORD
|
||||
///
|
||||
/// Run with: `cargo test test_baikal_auth -- --ignored`
|
||||
/// Run with: `cargo test test_baikal_auth`
|
||||
#[tokio::test]
|
||||
#[ignore] // Ignored by default since it requires network access and valid credentials
|
||||
async fn test_baikal_auth() {
|
||||
// Load config from .env
|
||||
let config = CalDAVConfig::from_env()
|
||||
@@ -234,9 +233,8 @@ mod tests {
|
||||
///
|
||||
/// This test requires a valid .env file and makes an actual CalDAV PROPFIND request
|
||||
///
|
||||
/// Run with: `cargo test test_propfind_calendars -- --ignored`
|
||||
/// Run with: `cargo test test_propfind_calendars`
|
||||
#[tokio::test]
|
||||
#[ignore]
|
||||
async fn test_propfind_calendars() {
|
||||
let config = CalDAVConfig::from_env()
|
||||
.expect("Failed to load CalDAV config from environment");
|
||||
|
||||
Reference in New Issue
Block a user