feat(cms): classify Atlantisz as an owner-confirmed client reference (MITHOME-131)
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Canceled after 0s
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Canceled after 0s
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Canceled after 0s
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Canceled after 0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Do Siki
2026-09-29 17:31:00 +02:00
co-authored by Claude Opus 5.5
parent 8347770db0
commit 784ed5719b
2 changed files with 12 additions and 0 deletions
@@ -11,6 +11,12 @@ describe('20260929_partner_references migration (MITHOME-131)', () => {
expect(doc.permissionReference).toMatch(/Írásos engedély/)
})
it('should mark the Atlantisz contracted client as a client reference too', () => {
const doc: Doc = { name: 'Atlantisz Horgászüdülő és Halásztanya' }
classifyPartner(doc)
expect(doc).toMatchObject({ relationship: 'client-reference', publicationPermission: 'granted' })
})
it('should hide any other uncategorised entry until someone classifies it', () => {
const doc: Doc = { name: 'Ismeretlen Kft.' }
classifyPartner(doc)
@@ -22,6 +22,12 @@ export const CONFIRMED_CLIENT_REFERENCES = [
name: 'Angele Pihenőház',
permissionReference: 'Írásos engedély megvan (tulajdonosi megerősítés, 2026-09-29)',
},
{
// Contracted client (its site runs on our infrastructure) — a client
// reference, not a partner, per the research's categories.
name: 'Atlantisz Horgászüdülő és Halásztanya',
permissionReference: 'Írásos engedély megvan (tulajdonosi megerősítés, 2026-09-29)',
},
] as const
type Copy = Record<'hu' | 'en', string>