Skip to content
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

Test - Update for MC 1.19+ #7240

Open
wants to merge 7 commits into
base: dev/feature
Choose a base branch
from

Conversation

ShaneBeee
Copy link
Contributor

@ShaneBeee ShaneBeee commented Dec 3, 2024

Description

This PR aims to update tests by removing outdated version checks since Skript 2.10+ will be only for MC 1.19.4+

NOTES:

  • boats.sk was failing, so I temporarily commented out the line until that can be fixed (so tests can pass)
    Twas an Alias issue, Pickle informed me to update Aliases submodule on local and now it works.
  • 4769-fire-visualeffect.sk was failing. I think the fire block was being set mid air and wouldn't set, so I just added a block below it
  • pull-5566...sk was failing, it was getting the wrong blocks (probably edited in another test), so I shifted the test over 10 blocks along Z

Target Minecraft Versions: any
Requirements: none
Related Issues: none

@Efnilite Efnilite added the unit testing For issues/PRs related to the Skript unit testing system. label Dec 3, 2024
@TheAbsolutionism
Copy link
Contributor

I could be wrong, but I believe the test added from Equip's EffDetonate is the cause of those tests failing. As the explosion that's being detonated is at spawn where those 2 tests take place.

Copy link
Member

@sovdeeth sovdeeth left a comment

Choose a reason for hiding this comment

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

nice work

@sovdeeth sovdeeth added the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Dec 15, 2024
set block at location(0.5, 2.5, 0.5, "world") to {_oldBlock::3}

test "lowest/highest solid block (new height)" when running minecraft "1.18":
test "lowest/highest solid block (new height)":
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
test "lowest/highest solid block (new height)":
test "lowest/highest solid block":

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. unit testing For issues/PRs related to the Skript unit testing system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants