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

Core: Update to latest Lunr.Halo #29

Merged
merged 1 commit into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Lunr/Core/Tests/IniGetIntegerForShorthandBytesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @covers Lunr\Core\Ini
*/
class IniGetIntegerForShorthandBytesTest extends IniTest
class IniGetIntegerForShorthandBytesTest extends IniTestCase
{

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Lunr/Core/Tests/IniMainTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @covers Lunr\Core\Ini
*/
class IniMainTest extends IniTest
class IniMainTest extends IniTestCase
{

/**
Expand All @@ -34,7 +34,7 @@ public function setUp(): void
*/
public function testSectionIsNull(): void
{
$this->assertNull($this->get_reflection_property_value('section'));
$this->assertNull($this->getReflectionPropertyValue('section'));
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Lunr/Core/Tests/IniSectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @covers Lunr\Core\Ini
*/
class IniSectionTest extends IniTest
class IniSectionTest extends IniTestCase
{

/**
Expand All @@ -34,7 +34,7 @@ public function setUp(): void
*/
public function testSectionIsNotNull(): void
{
$this->assertEquals('date', $this->get_reflection_property_value('section'));
$this->assertEquals('date', $this->getReflectionPropertyValue('section'));
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* This file contains the IniTest class.
* This file contains the IniTestCase class.
*
* SPDX-FileCopyrightText: Copyright 2016 M2mobi B.V., Amsterdam, The Netherlands
* SPDX-FileCopyrightText: Copyright 2022 Move Agency Group B.V., Zwolle, The Netherlands
Expand All @@ -11,15 +11,15 @@
namespace Lunr\Core\Tests;

use Lunr\Core\Ini;
use Lunr\Halo\LunrBaseTest;
use Lunr\Halo\LunrBaseTestCase;

/**
* This class contains common setup routines, providers
* and shared attributes for testing the Ini class.
*
* @covers Lunr\Core\Ini
*/
abstract class IniTest extends LunrBaseTest
abstract class IniTestCase extends LunrBaseTestCase
{

/**
Expand Down
Loading