File tree 2 files changed +0
-20
lines changed
2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -104,21 +104,6 @@ public function testGetReleaseFileThrowsExceptionWhenUnknown(): void
104
104
$ this ->client ->downloadVersion ("UnknownPluginName " , "1.0.0 " );
105
105
}
106
106
107
- public function testGetResourceReturnsSplFileObject (): void
108
- {
109
- // 214555 is the resource id of version 1.5.1 of the plugin "_NewAlias"
110
- // taken from the artifact_url (https://poggit.pmmp.io/r/214555)
111
- $ file = $ this ->client ->downloadResource (214555 );
112
- $ this ->assertNotNull ($ file );
113
- $ this ->assertInstanceOf (\SplFileObject::class, $ file );
114
- }
115
-
116
- public function testGetResourceThrowsExceptionWhenUnknown (): void
117
- {
118
- $ this ->expectException (ApiException::class);
119
- $ this ->client ->downloadResource (999999999 );
120
- }
121
-
122
107
public function testGetMd5HashReturnsCorrectHash (): void
123
108
{
124
109
// 214555 is the resource id of version 1.5.1 of the plugin "_NewAlias"
Original file line number Diff line number Diff line change @@ -71,11 +71,6 @@ public function testGetResourceIdReturnsCorrectId(): void
71
71
$ this ->assertEquals (214555 , $ this ->release ->getResourceId ());
72
72
}
73
73
74
- public function testGetFileReturnsSplFileObject (): void
75
- {
76
- $ this ->assertInstanceOf (\SplFileObject::class, $ this ->release ->getFile ());
77
- }
78
-
79
74
public function testGetMd5HashReturnsCorrectHash (): void
80
75
{
81
76
$ this ->assertEquals ("bf0191ae45bb52700961d214bbf1d6ab " , $ this ->release ->getMD5Hash ());
You can’t perform that action at this time.
0 commit comments