Skip to content

Commit

Permalink
test: Fix/clean up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Feb 16, 2021
1 parent 4ea74e2 commit 63d08a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions packages/core/e2e/asset-channel.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ import {
} from './graphql/shared-definitions';
import { assertThrowsWithMessage } from './utils/assert-throws-with-message';

// FIXME
testConfig.logger = new DefaultLogger({ level: LogLevel.Debug });

const { server, adminClient } = createTestEnvironment(testConfig);
const SECOND_CHANNEL_TOKEN = 'second_channel_token';
let createdAssetId: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,10 @@ describe('Elasticsearch plugin', () => {
expect(assetId).toBeTruthy();

await adminClient.query<DeleteAsset.Mutation, DeleteAsset.Variables>(DELETE_ASSET, {
id: assetId!,
force: true,
input: {
assetId: assetId!,
force: true,
},
});

await awaitRunningJobs(adminClient);
Expand Down

0 comments on commit 63d08a2

Please sign in to comment.