<?php

use App\Models\Mailbox;

it('names only the EU as the server location, on the sign-in page', function () {
    $this->get('/login')->assertOk()->assertSee('EU', false)
        ->assertDontSee('Österreich / Deutschland', false);
});

it('names only the EU in the specification plate on the public site', function () {
    // The approved template (docs/design/tpl-home.html:728, :996) says only "EU"
    // in both places. The row that spelled out the countries was never in it.
    $this->get('/')->assertOk()->assertDontSee('EU — Österreich / Deutschland', false);
});

it('keeps the countries out of the translation files entirely', function () {
    expect(__('auth.fact_location'))->toBe('EU');

    app()->setLocale('en');
    expect(__('auth.fact_location'))->toBe('EU');
});
