Worker tests: set the chart kind (charts_primary_is_own)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -269,8 +269,8 @@ mod analyses {
|
||||
.await
|
||||
.unwrap();
|
||||
sqlx::query(
|
||||
"INSERT INTO charts (id, owner_id, label, is_primary, birth_data, result, chart_hash) \
|
||||
VALUES ($1, $2, 'Saját', true, '{}', $3, 'hash1')",
|
||||
"INSERT INTO charts (id, owner_id, label, is_primary, kind, birth_data, result, chart_hash) \
|
||||
VALUES ($1, $2, 'Saját', true, 'own', '{}', $3, 'hash1')",
|
||||
)
|
||||
.bind(chart)
|
||||
.bind(user)
|
||||
@@ -424,8 +424,8 @@ mod analyses {
|
||||
let response = fixture("synastry-response.json");
|
||||
let (chart2, synastry) = (Uuid::now_v7(), Uuid::now_v7());
|
||||
sqlx::query(
|
||||
"INSERT INTO charts (id, owner_id, label, is_primary, birth_data, result, chart_hash) \
|
||||
VALUES ($1, $2, 'Partner', false, '{}', $3, 'hash2')",
|
||||
"INSERT INTO charts (id, owner_id, label, is_primary, kind, birth_data, result, chart_hash) \
|
||||
VALUES ($1, $2, 'Partner', false, 'person', '{}', $3, 'hash2')",
|
||||
)
|
||||
.bind(chart2)
|
||||
.bind(s.user)
|
||||
|
||||
Reference in New Issue
Block a user