mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-25 06:44:03 +08:00
Merge pull request #88 from meysamhadeli/fix/fix_change_log
fix: Fix update changelog
This commit is contained in:
commit
7ee3cfa992
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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update_release_draft:
|
update_release_draft:
|
||||||
|
|||||||
@ -10,7 +10,7 @@ public sealed class FakeCreateFlightCommand : AutoFaker<CreateFlightCommand>
|
|||||||
public FakeCreateFlightCommand()
|
public FakeCreateFlightCommand()
|
||||||
{
|
{
|
||||||
RuleFor(r => r.Id, _ => SnowFlakIdGenerator.NewId());
|
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.DepartureAirportId, _ => 1);
|
||||||
RuleFor(r => r.ArriveAirportId, _ => 2);
|
RuleFor(r => r.ArriveAirportId, _ => 2);
|
||||||
RuleFor(r => r.Status, _ => FlightStatus.Flying);
|
RuleFor(r => r.Status, _ => FlightStatus.Flying);
|
||||||
|
|||||||
@ -25,8 +25,6 @@ public class GetFlightByIdTests: FlightEndToEndTestBase
|
|||||||
//Arrange
|
//Arrange
|
||||||
var command = new FakeCreateFlightCommand().Generate();
|
var command = new FakeCreateFlightCommand().Generate();
|
||||||
await Fixture.SendAsync(command);
|
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);
|
(await Fixture.ShouldProcessedPersistInternalCommand<CreateFlightMongoCommand>()).Should().Be(true);
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user