mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(macros): add IndexerName
(#1511)
* feat(macros): add IndexerName * fix: tests * fix: tests
This commit is contained in:
parent
c43e2c76d6
commit
3c3b47fa10
37 changed files with 310 additions and 235 deletions
|
@ -254,7 +254,7 @@ func TestIRCParserGazelleGames_Parse(t *testing.T) {
|
|||
{
|
||||
name: "",
|
||||
args: args{
|
||||
rls: NewRelease("ggn"),
|
||||
rls: NewRelease(IndexerMinimal{0, "GazelleGames", "ggn"}),
|
||||
vars: map[string]string{
|
||||
"torrentName": "Trouble.in.Paradise-GROUP in Trouble in Paradise",
|
||||
},
|
||||
|
@ -267,7 +267,7 @@ func TestIRCParserGazelleGames_Parse(t *testing.T) {
|
|||
{
|
||||
name: "",
|
||||
args: args{
|
||||
rls: NewRelease("ggn"),
|
||||
rls: NewRelease(IndexerMinimal{0, "GazelleGames", "ggn"}),
|
||||
vars: map[string]string{
|
||||
"torrentName": "F.I.L.F. Game Walkthrough v.0.18 in F.I.L.F.",
|
||||
},
|
||||
|
@ -280,7 +280,7 @@ func TestIRCParserGazelleGames_Parse(t *testing.T) {
|
|||
{
|
||||
name: "",
|
||||
args: args{
|
||||
rls: NewRelease("ggn"),
|
||||
rls: NewRelease(IndexerMinimal{0, "GazelleGames", "ggn"}),
|
||||
vars: map[string]string{
|
||||
"torrentName": "Ni no Kuni: Dominion of the Dark Djinn in Ni no Kuni: Dominion of the Dark Djinn",
|
||||
},
|
||||
|
@ -293,7 +293,7 @@ func TestIRCParserGazelleGames_Parse(t *testing.T) {
|
|||
{
|
||||
name: "",
|
||||
args: args{
|
||||
rls: NewRelease("ggn"),
|
||||
rls: NewRelease(IndexerMinimal{0, "GazelleGames", "ggn"}),
|
||||
vars: map[string]string{
|
||||
"torrentName": "Year 2 Remastered by Insaneintherainmusic",
|
||||
"category": "OST",
|
||||
|
@ -332,7 +332,7 @@ func TestIRCParserOrpheus_Parse(t *testing.T) {
|
|||
{
|
||||
name: "",
|
||||
args: args{
|
||||
rls: NewRelease("ops"),
|
||||
rls: NewRelease(IndexerMinimal{0, "Orpheus", "ops"}),
|
||||
vars: map[string]string{
|
||||
"torrentName": "Busta Rhymes – BEACH BALL (feat. BIA) – [2023] [Single] WEB/FLAC/24bit Lossless",
|
||||
"title": "Busta Rhymes – BEACH BALL (feat. BIA)",
|
||||
|
@ -348,7 +348,7 @@ func TestIRCParserOrpheus_Parse(t *testing.T) {
|
|||
{
|
||||
name: "",
|
||||
args: args{
|
||||
rls: NewRelease("ops"),
|
||||
rls: NewRelease(IndexerMinimal{0, "Orpheus", "ops"}),
|
||||
vars: map[string]string{
|
||||
"torrentName": "Busta Rhymes – BEACH BALL (feat. BIA) – [2023] [Single] CD/FLAC/Lossless",
|
||||
"title": "Busta Rhymes – BEACH BALL (feat. BIA)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue