From a370cf31603cf11f2a49b0dc8445c567ac8861e0 Mon Sep 17 00:00:00 2001 From: Jake Date: Fri, 26 Dec 2014 00:15:04 -0600 Subject: [PATCH] Test both types of skins --- test/test.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index 2239ce7..605ab7c 100644 --- a/test/test.js +++ b/test/test.js @@ -206,14 +206,24 @@ describe("Crafatar", function() { }); describe("Networking: Render", function() { - it("should not fail (uuid)", function(done) { - helpers.get_render(id, 6, true, true, function(err, hash, img) { + it("should not fail (username, 64x64 skin)", function(done) { + helpers.get_render("Jake0oo0", 6, true, true, function(err, hash, img) { assert.strictEqual(err, null); done(); }); }); }); + describe("Networking: Render", function() { + it("should not fail (username, 32x64 skin)", function(done) { + helpers.get_render("md_5", 6, true, true, function(err, hash, img) { + assert.strictEqual(err, null); + done(); + }); + }); + }); + + describe("Errors", function() { before(function() { cache.get_redis().flushall();