test: fix all linter errors in test files master
Comprehensive error handling improvements across all test files: Error handling patterns applied: - defer db.Close() → defer func() { if err := db.Close(); err != nil { t.Logf(...) } }() - defer resp.Body.Close() → defer func() { _ = resp.Body.Close() }() - defer conn.Close() → defer func() { _ = conn.Close() }() - body, _ := io.ReadAll(...) → proper error checking with t.Fatalf() - json.Marshal/Unmarshal → proper error checking with descriptive variable names - os.Setenv/Unsetenv → proper error checking in tests - didGen.GenerateCommunityDID() → proper error checking with t.Fatalf() Test data fixes: - Fix community profile test: add required fields (handle, createdBy, hostedBy, visibility) - Ensure all lexicon validation tests pass with proper schema data Files updated (12 test files): - tests/lexicon_validation_test.go - tests/unit/community_service_test.go - tests/e2e/user_signup_test.go - tests/integration/community_consumer_test.go - tests/integration/community_credentials_test.go - tests/integration/community_e2e_test.go - tests/integration/community_repo_test.go - tests/integration/community_v2_validation_test.go - tests/integration/identity_resolution_test.go - tests/integration/jetstream_consumer_test.go - tests/integration/oauth_test.go - tests/integration/user_test.go All test files now pass golangci-lint with proper error handling. All tests continue to pass with 100% success rate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>