mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
move replication-actions into core addon so that secondary recovery works (#7226)
* move replication-actions component into core addon so that secondary recovery works * move the rest of replication action components
This commit is contained in:
@@ -4,14 +4,9 @@ import Service from '@ember/service';
|
||||
import { module, test } from 'qunit';
|
||||
import { setupRenderingTest } from 'ember-qunit';
|
||||
import { click, fillIn, blur, render, find } from '@ember/test-helpers';
|
||||
import { camelize } from '@ember/string';
|
||||
import engineResolverFor from 'ember-engines/test-support/engine-resolver-for';
|
||||
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
import sinon from 'sinon';
|
||||
|
||||
const resolver = engineResolverFor('replication');
|
||||
|
||||
const storeStub = Service.extend({
|
||||
callArgs: null,
|
||||
adapterFor() {
|
||||
@@ -32,7 +27,7 @@ const routerService = Service.extend({
|
||||
});
|
||||
|
||||
module('Integration | Component | replication actions', function(hooks) {
|
||||
setupRenderingTest(hooks, { resolver });
|
||||
setupRenderingTest(hooks);
|
||||
|
||||
hooks.beforeEach(function() {
|
||||
run(() => {
|
||||
@@ -99,7 +94,6 @@ module('Integration | Component | replication actions', function(hooks) {
|
||||
mode: clusterMode,
|
||||
modeForUrl: clusterMode,
|
||||
},
|
||||
[`can${camelize(action)}`]: true,
|
||||
reload() {
|
||||
return resolve();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user