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

feat: Add support for PHP 8.3 #520

Merged
merged 2 commits into from
Jun 27, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
fix flaky test
  • Loading branch information
dplewis committed Jun 27, 2024
commit a3efbf57b9aa11560fa0a645e8032f5fea624229
6 changes: 3 additions & 3 deletions tests/Parse/ParseQueryRelativeTimeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,15 +275,15 @@ public function testLongRelativeTime()
$this->assertEquals(1, $query->count());

$query = new ParseQuery('TestObject');
$query->lessThanRelativeTime('date', '1 year 3 weeks ago');
$this->assertEquals(0, $query->count());
$query->lessThanRelativeTime('date', '1 year 2 weeks ago');
$this->assertEquals(1, $query->count());

$query = new ParseQuery('TestObject');
$query->greaterThanRelativeTime('date', 'in 1 year 3 weeks');
$this->assertEquals(0, $query->count());

$query = new ParseQuery('TestObject');
$query->greaterThanRelativeTime('date', '1 year 3 weeks ago');
$query->greaterThanRelativeTime('date', '1 year 4 weeks ago');
$this->assertEquals(4, $query->count());
}

Expand Down
Loading