Skip to content

Commit

Permalink
Move hapi-plugin-mysql to test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Loring committed Apr 1, 2016
1 parent 039a64e commit dfaa806
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"closure-npc": "*",
"coveralls": "^2.11.8",
"glob": "^7.0.3",
"hapi-plugin-mysql": "^3.1.3",
"istanbul": "^0.4.2",
"jshint": "^2.9.1",
"mocha": "^2.2.4",
Expand Down
1 change: 1 addition & 0 deletions test/hooks/fixtures/hapi-plugin-mysql3/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('hapi-plugin-mysql');
8 changes: 8 additions & 0 deletions test/hooks/fixtures/hapi-plugin-mysql3/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "hapi-plugin-mysql3",
"version": "1.0.0",
"main": "index.js",
"dependencies": {
"hapi-plugin-mysql": "^3.1.3"
}
}
2 changes: 1 addition & 1 deletion test/standalone/test-mysql-pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if (semver.satisfies(process.version, '>=4')) {
var server = new Hapi.Server();
server.connection({ port: common.serverPort });
server.register({
register: require('hapi-plugin-mysql'),
register: require('../hooks/fixtures/hapi-plugin-mysql3'),
options: {
host : 'localhost',
user : 'travis',
Expand Down

0 comments on commit dfaa806

Please sign in to comment.