mirror of
https://github.com/hay-kot/homebox.git
synced 2025-06-23 20:28:34 +00:00
chore: rewrite generator to resolve strange name generation (#612)
* rewrite generator to resolve strange name generation
* fix asset id types
* ignore errored types
* remove depreciated calls
* use more random words
* random user
Former-commit-id: 4738a9b131
This commit is contained in:
parent
f74736b369
commit
742ece7923
18 changed files with 139 additions and 1183 deletions
|
@ -8,8 +8,8 @@ describe("basic notifier workflows", () => {
|
|||
|
||||
// Create Notifier
|
||||
const result = await client.notifiers.create({
|
||||
name: faker.name.firstName(),
|
||||
url: "discord://" + faker.random.alphaNumeric(10),
|
||||
name: faker.word.words(2),
|
||||
url: "discord://" + faker.string.alphanumeric(10),
|
||||
isActive: true,
|
||||
});
|
||||
|
||||
|
@ -22,8 +22,8 @@ describe("basic notifier workflows", () => {
|
|||
// Update Notifier with new URL
|
||||
{
|
||||
const updateData = {
|
||||
name: faker.name.firstName(),
|
||||
url: "discord://" + faker.random.alphaNumeric(10),
|
||||
name: faker.word.words(2),
|
||||
url: "discord://" + faker.string.alphanumeric(10),
|
||||
isActive: true,
|
||||
};
|
||||
|
||||
|
@ -37,7 +37,7 @@ describe("basic notifier workflows", () => {
|
|||
// Update Notifier with empty URL
|
||||
{
|
||||
const updateData = {
|
||||
name: faker.name.firstName(),
|
||||
name: faker.word.words(2),
|
||||
url: null,
|
||||
isActive: true,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue