Skip to content

Conversation

@TLE931
Copy link
Contributor

@TLE931 TLE931 commented Aug 27, 2024

written in PHP Pest framework. CI runs new tests automatically

@simonostendorf simonostendorf linked an issue Aug 29, 2024 that may be closed by this pull request
@simonostendorf simonostendorf added this to the Version 3.0.x milestone Aug 29, 2024
TLE931 and others added 2 commits August 30, 2024 11:23
- removed Unit testsuite
- removed env-variables for CI-test (those are in phpunit.xml)
@TLE931 TLE931 added the enhancement New feature or request label Aug 30, 2024
});

test('reassign after new registrations', function () {
$reg_amount = 5;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in camelCase, as this is what we primarily use.


test('reassign after new registrations', function () {
$reg_amount = 5;
$reg_amount_later = 12;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in camelCase, as this is what we primarily use.

$reg_amount = 5;
$reg_amount_later = 12;

createUsers($reg_amount);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in camelCase, as this is what we primarily use.

$this->assignment->assign();

// queue position should be null for all registrations
expect($this->slot->registrations()->where('queue_position', null)->get()->count())->toEqual($reg_amount);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in camelCase, as this is what we primarily use.

// queue position should be null for all registrations
expect($this->slot->registrations()->where('queue_position', null)->get()->count())->toEqual($reg_amount);

createUsers($reg_amount_later);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in camelCase, as this is what we primarily use.

@simonostendorf simonostendorf modified the milestones: Version 3.0.x, 3.1.0 Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Unit tests

5 participants