Initial commit of LittleShop project (excluding large archives)

- BTCPay Server integration
- TeleBot Telegram bot
- Review system
- Admin area
- Docker deployment configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-17 15:07:38 +01:00
parent bcca00ab39
commit e1b377a042
140 changed files with 32166 additions and 21089 deletions

View File

@@ -51,11 +51,11 @@ public class ProductServiceTests : IDisposable
// Act
var result = await _productService.GetAllProductsAsync();
// Assert
result.Should().HaveCount(3);
// Assert - only active products should be returned
result.Should().HaveCount(2);
result.Should().Contain(p => p.Name == "Product 1");
result.Should().Contain(p => p.Name == "Product 2");
result.Should().Contain(p => p.Name == "Product 3");
result.Should().NotContain(p => p.Name == "Product 3"); // Inactive product should not be returned
}
[Fact]
@@ -209,9 +209,10 @@ public class ProductServiceTests : IDisposable
// Assert
result.Should().BeTrue();
// Verify in database
// Verify in database - soft delete means IsActive = false
var dbProduct = await _context.Products.FindAsync(productId);
dbProduct.Should().BeNull();
dbProduct.Should().NotBeNull();
dbProduct!.IsActive.Should().BeFalse();
}
[Fact]