mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
Use get_render in tests
This commit is contained in:
parent
9ba3f5190a
commit
5e453ced02
@ -165,13 +165,13 @@ describe("Crafatar", function() {
|
|||||||
describe("Networking: Renders", function() {
|
describe("Networking: Renders", function() {
|
||||||
describe("Head", function() {
|
describe("Head", function() {
|
||||||
it("should not fail (username)", function(done) {
|
it("should not fail (username)", function(done) {
|
||||||
renders.draw_model(username, 6, true, false, function(err, status, hash, img) {
|
helpers.get_render(username, 6, true, false, function(err, status, hash, img) {
|
||||||
assert.strictEqual(err, null);
|
assert.strictEqual(err, null);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
it("should not fail (uuid)", function(done) {
|
it("should not fail (uuid)", function(done) {
|
||||||
renders.draw_model(username, 6, true, false, function(err, status, hash, img) {
|
helpers.get_render(username, 6, true, false, function(err, status, hash, img) {
|
||||||
assert.strictEqual(err, null);
|
assert.strictEqual(err, null);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
@ -179,13 +179,13 @@ describe("Crafatar", function() {
|
|||||||
});
|
});
|
||||||
describe("Body", function() {
|
describe("Body", function() {
|
||||||
it("should not fail (username)", function(done) {
|
it("should not fail (username)", function(done) {
|
||||||
renders.draw_model(username, 6, true, true, function(err, status, hash, img) {
|
helpers.get_render(username, 6, true, true, function(err, status, hash, img) {
|
||||||
assert.strictEqual(err, null);
|
assert.strictEqual(err, null);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
it("should not fail (uuid)", function(done) {
|
it("should not fail (uuid)", function(done) {
|
||||||
renders.draw_model(username, 6, true, true, function(err, status, hash, img) {
|
helpers.get_render(username, 6, true, true, function(err, status, hash, img) {
|
||||||
assert.strictEqual(err, null);
|
assert.strictEqual(err, null);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user