Skip to content

Commit 8aecc6e

Browse files
feat(api): manual updates
1 parent 3ac5bb6 commit 8aecc6e

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 42
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-eab9713fd85da68b41e881dfd9cd71f654e8620132da2023bab7dd01e5f7852e.yml
3-
openapi_spec_hash: b5037b26fbe7360c6bfaf9947a65bb85
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-911102f2eaf3be4b34381f6ba089330bed099bb72eb93667ce2f6e72b5934c8c.yml
3+
openapi_spec_hash: 637ad417a580137914441bd790b04cc2
44
config_hash: 70f9408b8d1dfbcf262a20d6eed50e1c

tests/Services/FilesTest.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,7 @@ public function testUpload(): void
163163
$this->markTestSkipped('Prism tests are disabled');
164164
}
165165

166-
$result = $this->client->files->upload(
167-
file: 'https://www.example.com/path/to-image.jpg',
168-
fileName: 'fileName'
169-
);
166+
$result = $this->client->files->upload(file: 'file', fileName: 'fileName');
170167

171168
$this->assertTrue(true); // @phpstan-ignore-line
172169
}
@@ -178,10 +175,7 @@ public function testUploadWithOptionalParams(): void
178175
$this->markTestSkipped('Prism tests are disabled');
179176
}
180177

181-
$result = $this->client->files->upload(
182-
file: 'https://www.example.com/path/to-image.jpg',
183-
fileName: 'fileName'
184-
);
178+
$result = $this->client->files->upload(file: 'file', fileName: 'fileName');
185179

186180
$this->assertTrue(true); // @phpstan-ignore-line
187181
}

0 commit comments

Comments
 (0)