Fix some version related problems (in test.js and circle.yml)

This commit is contained in:
Romain Beaumont 2015-07-29 18:37:16 +02:00
parent 9c35951d15
commit 57f5b9d23d
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
machine:
environment:
MC_SERVER_JAR: /home/ubuntu/node-minecraft-protocol/minecraft-server/minecraft_server.1.8.3.jar
MC_SERVER_JAR: /home/ubuntu/node-minecraft-protocol/minecraft-server/minecraft_server.jar
node:
version: 0.10.28
java:

View File

@ -546,9 +546,9 @@ describe("mc-server", function() {
assert.ok(results.latency <= 1000);
delete results.latency;
assert.deepEqual(results, {
version: { //TODO : Make this dynamic, based on protocol.version
name: "1.8.1",
protocol: 47
version: {
name: mc.minecraftVersion,
protocol: mc.version
},
players: {
max: 120,