Skip to content

Commit

Permalink
Merge 4722085 into 7741ae8
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed May 10, 2019
2 parents 7741ae8 + 4722085 commit 1a86de0
Show file tree
Hide file tree
Showing 21 changed files with 100 additions and 99 deletions.
7 changes: 4 additions & 3 deletions .gitattributes
@@ -1,6 +1,7 @@
.* export-ignore
Makefile export-ignore
phpstan.neon export-ignore
phpunit.xml.dist export-ignore
docs/* export-ignore
tests/* export-ignore
vendor-bin/ export-ignore
/docs export-ignore
/tests export-ignore
/vendor-bin export-ignore
12 changes: 6 additions & 6 deletions tests/Builder/AlbumInfoBuilderTest.php
Expand Up @@ -21,7 +21,7 @@ public function testForMbid(): void
$expected = [
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForAlbum(): void
Expand All @@ -32,7 +32,7 @@ public function testForAlbum(): void
'artist' => 'Slipknot',
'album' => 'IOWA',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForUsername(): void
Expand All @@ -45,7 +45,7 @@ public function testForUsername(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'username' => 'MyUser',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testLanguage(): void
Expand All @@ -58,7 +58,7 @@ public function testLanguage(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'lang' => 'DE',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testAutocorrect(): void
Expand All @@ -71,7 +71,7 @@ public function testAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 1,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testNoAutocorrect(): void
Expand All @@ -84,6 +84,6 @@ public function testNoAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 0,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}
}
10 changes: 5 additions & 5 deletions tests/Builder/AlbumTagsBuilderTest.php
Expand Up @@ -21,7 +21,7 @@ public function testForMbid(): void
$expected = [
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForAlbum(): void
Expand All @@ -32,7 +32,7 @@ public function testForAlbum(): void
'artist' => 'Slipknot',
'album' => 'IOWA',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForUsername(): void
Expand All @@ -45,7 +45,7 @@ public function testForUsername(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'user' => 'MyUser',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testAutocorrect(): void
Expand All @@ -58,7 +58,7 @@ public function testAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 1,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testNoAutocorrect(): void
Expand All @@ -71,6 +71,6 @@ public function testNoAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 0,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}
}
8 changes: 4 additions & 4 deletions tests/Builder/AlbumTopTagsBuilderTest.php
Expand Up @@ -21,7 +21,7 @@ public function testForMbid(): void
$expected = [
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForAlbum(): void
Expand All @@ -32,7 +32,7 @@ public function testForAlbum(): void
'artist' => 'Slipknot',
'album' => 'IOWA',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testAutocorrect(): void
Expand All @@ -45,7 +45,7 @@ public function testAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 1,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testNoAutocorrect(): void
Expand All @@ -58,6 +58,6 @@ public function testNoAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 0,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}
}
12 changes: 6 additions & 6 deletions tests/Builder/ArtistInfoBuilderTest.php
Expand Up @@ -21,7 +21,7 @@ public function testForMbid(): void
$expected = [
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForArtist(): void
Expand All @@ -31,7 +31,7 @@ public function testForArtist(): void
$expected = [
'artist' => 'Slipknot',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForUsername(): void
Expand All @@ -44,7 +44,7 @@ public function testForUsername(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'username' => 'MyUser',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testLanguage(): void
Expand All @@ -57,7 +57,7 @@ public function testLanguage(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'lang' => 'DE',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testAutocorrect(): void
Expand All @@ -70,7 +70,7 @@ public function testAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 1,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testNoAutocorrect(): void
Expand All @@ -83,6 +83,6 @@ public function testNoAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 0,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}
}
10 changes: 5 additions & 5 deletions tests/Builder/ArtistTagsBuilderTest.php
Expand Up @@ -21,7 +21,7 @@ public function testForMbid(): void
$expected = [
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForArtist(): void
Expand All @@ -31,7 +31,7 @@ public function testForArtist(): void
$expected = [
'artist' => 'Slipknot',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForUsername(): void
Expand All @@ -44,7 +44,7 @@ public function testForUsername(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'user' => 'MyUser',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testAutocorrect(): void
Expand All @@ -57,7 +57,7 @@ public function testAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 1,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testNoAutocorrect(): void
Expand All @@ -70,6 +70,6 @@ public function testNoAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 0,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}
}
12 changes: 6 additions & 6 deletions tests/Builder/ArtistTopAlbumsBuilderTest.php
Expand Up @@ -21,7 +21,7 @@ public function testForMbid(): void
$expected = [
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForArtist(): void
Expand All @@ -31,7 +31,7 @@ public function testForArtist(): void
$expected = [
'artist' => 'Slipknot',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testAutocorrect(): void
Expand All @@ -44,7 +44,7 @@ public function testAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 1,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testNoAutocorrect(): void
Expand All @@ -57,7 +57,7 @@ public function testNoAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 0,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testLimit(): void
Expand All @@ -70,7 +70,7 @@ public function testLimit(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'limit' => 20,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testPage(): void
Expand All @@ -83,6 +83,6 @@ public function testPage(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'page' => 13,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}
}
8 changes: 4 additions & 4 deletions tests/Builder/ArtistTopTagsBuilderTest.php
Expand Up @@ -21,7 +21,7 @@ public function testForMbid(): void
$expected = [
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForArtist(): void
Expand All @@ -31,7 +31,7 @@ public function testForArtist(): void
$expected = [
'artist' => 'Slipknot',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testAutocorrect(): void
Expand All @@ -44,7 +44,7 @@ public function testAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 1,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testNoAutocorrect(): void
Expand All @@ -57,6 +57,6 @@ public function testNoAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 0,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}
}
12 changes: 6 additions & 6 deletions tests/Builder/ArtistTopTracksBuilderTest.php
Expand Up @@ -21,7 +21,7 @@ public function testForMbid(): void
$expected = [
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testForArtist(): void
Expand All @@ -31,7 +31,7 @@ public function testForArtist(): void
$expected = [
'artist' => 'Slipknot',
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testAutocorrect(): void
Expand All @@ -44,7 +44,7 @@ public function testAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 1,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testNoAutocorrect(): void
Expand All @@ -57,7 +57,7 @@ public function testNoAutocorrect(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'autocorrect' => 0,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testLimit(): void
Expand All @@ -70,7 +70,7 @@ public function testLimit(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'limit' => 20,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}

public function testPage(): void
Expand All @@ -83,6 +83,6 @@ public function testPage(): void
'mbid' => 'a466c2a2-6517-42fb-a160-1087c3bafd9f',
'page' => 13,
];
$this->assertSame($expected, $builder->getQuery());
static::assertSame($expected, $builder->getQuery());
}
}

0 comments on commit 1a86de0

Please sign in to comment.