diff --git a/.gitignore b/.gitignore index 2d4b931..8ed26fb 100644 --- a/.gitignore +++ b/.gitignore @@ -136,3 +136,7 @@ dist .pnp.* plt-php wordpress + +package-lock.json +pnpm-lock.yaml +yarn.lock diff --git a/package.json b/package.json index 3bc9b9d..44eb5cb 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "homepage": "https://github.com/platformatic/php#readme", "dependencies": { "@fastify/static": "^8.2.0", - "@platformatic/php-node": "1.0.1", + "@platformatic/php-node": "^1.0.4", "@platformatic/service": "^2.63.3", "json-schema-to-typescript": "^15.0.4" }, diff --git a/test/plugin.test.js b/test/plugin.test.js index c7d4607..e2a9af1 100644 --- a/test/plugin.test.js +++ b/test/plugin.test.js @@ -11,7 +11,7 @@ async function startStackable (t, docroot = join(import.meta.dirname, './fixture $schema: '../../schema.json', module: '../../lib/index.js', php: { - docroot + docroot }, port: 0, server: { @@ -40,7 +40,7 @@ test('PHP hello world', async t => { test('post data', async t => { const server = await startStackable(t) const res = await server.inject({ - url: '/post.php', + url: '/post.php', method: 'POST', ...formAutoContet({ 'foo': 'bar'