Skip to content

fix upload file with nested path #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 29, 2025

Conversation

dundich
Copy link
Contributor

@dundich dundich commented Apr 18, 2025

Мелкий фикс для работы с вложенными путями

	[Theory]
	[InlineData("some/foo/audio.wav", 1024)]
	[InlineData("another/path/test.mp3", 2048)]
	public async Task UploadFileWithNestedPath(string nestedFileName, int dataSize)
	{
		var data = GetByteArray(dataSize); 
		// Act
		var result = await _client.UploadFile(nestedFileName, StreamContentType, data, _ct);
		Assert.True(result);

		// Assert
		var exists = await _client.IsFileExists(nestedFileName, _ct);
		Assert.True(exists, "The object should exist in the S3 bucket");

		await DeleteTestFile(nestedFileName);
	}

@teoadal
Copy link
Owner

teoadal commented Apr 29, 2025

Спасибо!

@teoadal teoadal merged commit bbcc4f4 into teoadal:master Apr 29, 2025
1 check passed
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.16%. Comparing base (c0aa1fb) to head (f022e3e).
Report is 1 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   87.16%   87.16%           
=======================================
  Files          17       17           
  Lines         779      779           
  Branches      116      116           
=======================================
  Hits          679      679           
  Misses         49       49           
  Partials       51       51           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants