Magento 1:
{{ $connectionTest['magento1'] ? '✓ Connected' : '✗ Failed' }}
@if(!$connectionTest['magento1'] && isset($connectionTest['magento1_error']))
{{ $connectionTest['magento1_error'] }}
@endif
Magento 2:
{{ $connectionTest['magento2'] ? '✓ Connected' : '✗ Failed' }}
@if(!$connectionTest['magento2'] && isset($connectionTest['magento2_error']))
{{ $connectionTest['magento2_error'] }}
@endif