--- FAIL: TestAdminService_GetUser (0.00s) --- FAIL: TestAdminService_GetUser/returns_user_by_id (0.00s) admin_service_test.go:173: Unexpected error: Query: could not match actual sql: "SELECT id, full_name, email, role, COALESCE(status, 'active'), created_at, phone, bio, avatar_url FROM users WHERE id = $1" with expected regexp "SELECT id, full_name, email, role, created_at FROM users WHERE id" 2026/02/25 06:11:52 [EmailService] Failed to fetch AMQP URL: sql: connection is already closed --- FAIL: TestApplicationService_CreateApplication_Full (0.00s) application_service_test.go:136: CreateApplication failed: Query ' INSERT INTO applications ( job_id, user_id, name, phone, line_id, whatsapp, email, message, resume_url, documents, answers, status, created_at, updated_at ) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) RETURNING id, created_at, updated_at ', arguments do not match: expected 13, but got 14 arguments --- FAIL: TestApplicationService_GetApplications (0.00s) application_service_test.go:171: GetApplications failed: sql: expected 13 destination arguments in Scan, not 15 --- FAIL: TestApplicationService_GetApplicationByID (0.00s) application_service_test.go:206: GetApplicationByID failed: sql: expected 14 destination arguments in Scan, not 15 [JOB_SERVICE DEBUG] === CreateJob Started === [JOB_SERVICE DEBUG] CompanyID=1, CreatedBy=user-123, Title=Go Developer, Status=published [JOB_SERVICE DEBUG] Executing INSERT query... [JOB_SERVICE DEBUG] Job struct: &{ID: CompanyID:1 CreatedBy:user-123 Title:Go Developer Description: SalaryMin: SalaryMax: SalaryType: Currency: SalaryNegotiable:false EmploymentType: WorkMode: WorkingHours: Location: RegionID: CityID: Requirements:map[] Benefits:map[] Questions:map[] VisaSupport:false LanguageLevel: Status:published IsFeatured:false ViewCount:0 FeaturedUntil: DatePosted:2026-02-25 06:11:52.3397837 -0600 CST m=+0.337955101 CreatedAt:2026-02-25 06:11:52.3397837 -0600 CST m=+0.337955101 UpdatedAt:2026-02-25 06:11:52.3397837 -0600 CST m=+0.337955101} [JOB_SERVICE ERROR] INSERT query failed: Query ' INSERT INTO jobs ( company_id, created_by, title, description, salary_min, salary_max, salary_type, currency, employment_type, work_mode, working_hours, location, region_id, city_id, requirements, benefits, questions, visa_support, language_level, status, date_posted, created_at, updated_at, salary_negotiable ) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) RETURNING id, date_posted, created_at, updated_at ', arguments do not match: expected 21, but got 24 arguments [JOB_SERVICE DEBUG] === CreateJob Started === [JOB_SERVICE DEBUG] CompanyID=1, CreatedBy=user-123, Title=Go Developer, Status= [JOB_SERVICE DEBUG] Executing INSERT query... [JOB_SERVICE DEBUG] Job struct: &{ID: CompanyID:1 CreatedBy:user-123 Title:Go Developer Description: SalaryMin: SalaryMax: SalaryType: Currency: SalaryNegotiable:false EmploymentType: WorkMode: WorkingHours: Location: RegionID: CityID: Requirements:map[] Benefits:map[] Questions:map[] VisaSupport:false LanguageLevel: Status: IsFeatured:false ViewCount:0 FeaturedUntil: DatePosted:2026-02-25 06:11:52.3397837 -0600 CST m=+0.337955101 CreatedAt:2026-02-25 06:11:52.3397837 -0600 CST m=+0.337955101 UpdatedAt:2026-02-25 06:11:52.3397837 -0600 CST m=+0.337955101} [JOB_SERVICE ERROR] INSERT query failed: Query ' INSERT INTO jobs ( company_id, created_by, title, description, salary_min, salary_max, salary_type, currency, employment_type, work_mode, working_hours, location, region_id, city_id, requirements, benefits, questions, visa_support, language_level, status, date_posted, created_at, updated_at, salary_negotiable ) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) RETURNING id, date_posted, created_at, updated_at ', arguments do not match: expected 21, but got 24 arguments --- FAIL: TestCreateJob (0.00s) --- FAIL: TestCreateJob/Success (0.00s) job_service_test.go:62: JobService.CreateJob() error = Query ' INSERT INTO jobs ( company_id, created_by, title, description, salary_min, salary_max, salary_type, currency, employment_type, work_mode, working_hours, location, region_id, city_id, requirements, benefits, questions, visa_support, language_level, status, date_posted, created_at, updated_at, salary_negotiable ) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) RETURNING id, date_posted, created_at, updated_at ', arguments do not match: expected 21, but got 24 arguments, wantErr false --- FAIL: TestGetJobByID (0.00s) job_service_test.go:165: GetJobByID() error = sql: expected 20 destination arguments in Scan, not 26 --- FAIL: TestUpdateJob (0.00s) job_service_test.go:210: UpdateJob() error = sql: expected 20 destination arguments in Scan, not 26 FAIL FAIL github.com/rede5/gohorsejobs/backend/internal/services 0.441s FAIL