Skip to content

Commit

Permalink
test: remove outdated test
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Dec 10, 2023
1 parent da1c5be commit 762d889
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions tests/integration/mail_provider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,34 +81,6 @@ test.group('Mail Provider', () => {
await app.container.make('mail.manager')
}).throws('Invalid "config/mail.ts" file. Make sure you are using the "defineConfig" method')

test('share edge template engine with Message class', async ({ assert }) => {
const ignitor = new IgnitorFactory()
.merge({
rcFileContents: {
providers: [
() => import('@adonisjs/core/providers/edge_provider'),
() => import('../../providers/mail_provider.js'),
],
},
})
.withCoreConfig()
.withCoreProviders()
.merge({
config: {
mail: {},
},
})
.create(BASE_URL, {
importer: IMPORTER,
})

const app = ignitor.createApp('web')
await app.init()
await app.boot()

assert.strictEqual(Message.templateEngine, edge)
})

test('correctly share helpers and view data with edge', async ({ assert }) => {
const ignitor = new IgnitorFactory()
.merge({
Expand Down

0 comments on commit 762d889

Please sign in to comment.