mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-11 02:20:20 +08:00
commit
0e7f0d8a83
47
.github/release.yml
vendored
47
.github/release.yml
vendored
@ -1,47 +0,0 @@
|
||||
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
|
||||
# https://github.com/bcoe/conventional-release-labels
|
||||
# https://dev.to/github/how-to-automatically-generate-release-notes-for-your-project-2ng8
|
||||
# https://www.conventionalcommits.org/en/v1.0.0/
|
||||
|
||||
# github release pre-defined template
|
||||
changelog:
|
||||
exclude:
|
||||
labels:
|
||||
- ignore-for-release
|
||||
categories:
|
||||
- title: 🚀 Features
|
||||
labels:
|
||||
- feature
|
||||
- title: 🐛 Bug Fixes
|
||||
labels:
|
||||
- fix
|
||||
- bug
|
||||
- title: ♻️ Changes
|
||||
labels:
|
||||
- changed
|
||||
- enhancement
|
||||
- refactor
|
||||
- title: ⛔️ Deprecated
|
||||
labels:
|
||||
- deprecated
|
||||
- title: 🗑 Removed
|
||||
labels:
|
||||
- removed
|
||||
- title: 🔐 Security
|
||||
labels:
|
||||
- security
|
||||
- title: 📄 Documentation
|
||||
labels:
|
||||
- docs
|
||||
- documentation
|
||||
- title: 🧩 Dependency Updates
|
||||
labels:
|
||||
- deps
|
||||
- dependencies
|
||||
- title: 🧰 Maintenance
|
||||
label: 'chore'
|
||||
- title: 🧺 Miscellaneous #Everything except ABAP
|
||||
label: misc
|
||||
- title: Other Changes
|
||||
labels:
|
||||
- "*"
|
||||
1
.github/workflows/release-drafter.yml
vendored
1
.github/workflows/release-drafter.yml
vendored
@ -6,6 +6,7 @@
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- develop
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
|
||||
@ -10,7 +10,7 @@ public sealed class FakeCreateFlightCommand : AutoFaker<CreateFlightCommand>
|
||||
public FakeCreateFlightCommand()
|
||||
{
|
||||
RuleFor(r => r.Id, _ => SnowFlakIdGenerator.NewId());
|
||||
RuleFor(r => r.FlightNumber, r => r.Random.Number(1000, 2000).ToString());
|
||||
RuleFor(r => r.FlightNumber, r => "12FF");
|
||||
RuleFor(r => r.DepartureAirportId, _ => 1);
|
||||
RuleFor(r => r.ArriveAirportId, _ => 2);
|
||||
RuleFor(r => r.Status, _ => FlightStatus.Flying);
|
||||
|
||||
@ -25,8 +25,6 @@ public class GetFlightByIdTests: FlightEndToEndTestBase
|
||||
//Arrange
|
||||
var command = new FakeCreateFlightCommand().Generate();
|
||||
await Fixture.SendAsync(command);
|
||||
(await Fixture.WaitForPublishing<FlightCreated>()).Should().Be(true);
|
||||
(await Fixture.WaitForConsuming<FlightCreated>()).Should().Be(true);
|
||||
(await Fixture.ShouldProcessedPersistInternalCommand<CreateFlightMongoCommand>()).Should().Be(true);
|
||||
|
||||
// Act
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user