mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
Use get_render in tests
This commit is contained in:
@@ -165,13 +165,13 @@ describe("Crafatar", function() {
|
||||
describe("Networking: Renders", function() {
|
||||
describe("Head", function() {
|
||||
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);
|
||||
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);
|
||||
done();
|
||||
});
|
||||
@@ -179,13 +179,13 @@ describe("Crafatar", function() {
|
||||
});
|
||||
describe("Body", function() {
|
||||
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);
|
||||
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);
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user