Skip to content

Commit 722b94c

Browse files
committed
Fix gateway details route assertions
1 parent 56204b3 commit 722b94c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

server/tests/FeatureTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,14 @@
339339
->toContain('{{#each this.tabs as |tab|}}')
340340
->toContain("{{if tab.active 'border-blue-500 text-gray-900 dark:text-white'")
341341
->toContain("{{if this.isTransactionsTab 'min-w-0'")
342-
->toContain('payments.gateways.details.index')
343-
->toContain('payments.gateways.details.setup')
344-
->toContain('payments.gateways.details.diagnostics')
345342
->not->toContain('Layout::Resource::Panel');
346343

347344
expect($detailsController)
348345
->toContain('currentRouteName')
349-
->toContain('isTransactionsTab');
346+
->toContain('isTransactionsTab')
347+
->toContain('payments.gateways.details.index')
348+
->toContain('payments.gateways.details.setup')
349+
->toContain('payments.gateways.details.diagnostics');
350350

351351
$newTemplate = file_get_contents(__DIR__ . '/../../addon/templates/payments/gateways/new.hbs');
352352
$editTemplate = file_get_contents(__DIR__ . '/../../addon/templates/payments/gateways/edit.hbs');

0 commit comments

Comments
 (0)