0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-21 17:00:29 +01:00
Dieser Commit ist enthalten in:
merefield 2023-10-06 16:37:24 +01:00
Ursprung 44f2394e75
Commit 9017871f2e
4 geänderte Dateien mit 8 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -3,7 +3,7 @@
{{conditional-loading-spinner size="small" condition=unauthorizing}}
<DButton
class="deauthorize"
@title=admin.wizard.subscription.deauthorize.title
@title="admin.wizard.subscription.deauthorize.title"
@disabled={{unauthorizing}}
@action={{this.deauthorize}}
>
@ -13,8 +13,8 @@
<DButton
@icon="id-card"
class="btn-primary"
@label=admin.wizard.subscription.authorize.label
@title=admin.wizard.subscription.authorize.title
@label="admin.wizard.subscription.authorize.label"
@title="admin.wizard.subscription.authorize.title"
@action={{this.authorize}}
/>
{{/if}}

Datei anzeigen

@ -1,5 +1,6 @@
import {
acceptance,
exists,
query,
visible,
} from "discourse/tests/helpers/qunit-helpers";
@ -62,7 +63,7 @@ acceptance("Admin | Custom Wizard Business Subscription", function (needs) {
assert.equal(count, 6, "There should be 6 admin tabs");
});
test("shows authorized and subscribed", async(assert) => {
test("shows authorized and subscribed", async (assert) => {
await visit("/admin/wizards");
assert.notOk(
exists(".supplier-authorize .btn-primary"),

Datei anzeigen

@ -1,5 +1,6 @@
import {
acceptance,
exists,
query,
visible,
} from "discourse/tests/helpers/qunit-helpers";
@ -62,7 +63,7 @@ acceptance("Admin | Custom Wizard Standard Subscription", function (needs) {
assert.equal(count, 5, "There should be 5 admin tabs");
});
test("shows authorized and subscribed", async(assert) => {
test("shows authorized and subscribed", async (assert) => {
await visit("/admin/wizards");
assert.notOk(
exists(".supplier-authorize .btn-primary"),

Datei anzeigen

@ -76,7 +76,7 @@ acceptance("Admin | Custom Wizard Unsubscribed", function (needs) {
assert.equal(count, 5, "There should be 5 admin tabs");
});
test("shows unauthorized and unsubscribed", async(assert) => {
test("shows unauthorized and unsubscribed", async (assert) => {
await visit("/admin/wizards");
assert.ok(
exists(".supplier-authorize .btn-primary"),