From 2f1ca4e31ff9b92eedbeaa44f8be753551286e3a Mon Sep 17 00:00:00 2001
From: Travis Ralston <travpc@gmail.com>
Date: Fri, 6 Nov 2020 14:55:16 -0700
Subject: [PATCH] Appease the tests

---
 test/test_discordbot.ts | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/test/test_discordbot.ts b/test/test_discordbot.ts
index d04f5f2..17f6375 100644
--- a/test/test_discordbot.ts
+++ b/test/test_discordbot.ts
@@ -184,8 +184,8 @@ describe("DiscordBot", () => {
             discordBot = getDiscordBot();
             msg.author = author;
             msg.attachments.set("1234", {
-                filename: "someimage.png",
-                filesize: 42,
+                name: "someimage.png",
+                size: 42,
                 height: 0,
                 url: "asdf",
                 width: 0,
@@ -210,8 +210,8 @@ describe("DiscordBot", () => {
             discordBot = getDiscordBot();
             msg.author = author;
             msg.attachments.set("1234", {
-                filename: "foxes.mov",
-                filesize: 42,
+                name: "foxes.mov",
+                size: 42,
                 height: 0,
                 url: "asdf",
                 width: 0,
@@ -236,8 +236,8 @@ describe("DiscordBot", () => {
             discordBot = getDiscordBot();
             msg.author = author;
             msg.attachments.set("1234", {
-                filename: "meow.mp3",
-                filesize: 42,
+                name: "meow.mp3",
+                size: 42,
                 height: 0,
                 url: "asdf",
                 width: 0,
@@ -260,8 +260,8 @@ describe("DiscordBot", () => {
             discordBot = getDiscordBot();
             msg.author = author;
             msg.attachments.set("1234", {
-                filename: "meow.zip",
-                filesize: 42,
+                name: "meow.zip",
+                size: 42,
                 height: 0,
                 url: "asdf",
                 width: 0,
-- 
GitLab