Skip to content

Commit

Permalink
mark faerie tests as integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher David committed Nov 26, 2023
1 parent d1bc958 commit d4e9a00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Feature/FaerieTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
// Step 3: Delete the branch
$response = GitHub::api('git')->references()->remove($owner, $repo, 'heads/' . $newBranch);
expect($response)->toBe('');
});
})->group('integration');

test('can fetch github issue', function () {
$response = GitHub::issues()->show('ArcadeLabsInc', 'openagents', 1);

expect($response['url'])->toBe('https://api.github.com/repos/ArcadeLabsInc/openagents/issues/1');
expect($response['repository_url'])->toBe('https://api.github.com/repos/ArcadeLabsInc/openagents');
expect($response['body'])->toContain("We will implement the 'memory stream' architecture mentioned in the Generative Agents paper, excerpted below and slightly modified to reflect our 'autodev' use case.");
});
})->group('integration');

test('can fetch github issue comments', function () {
// $response = GitHub::api('issue')->comments()->show('ArcadeLabsInc', 'openagents', 1);
Expand All @@ -48,7 +48,7 @@
expect($response[1]['issue_url'])->toBe('https://api.github.com/repos/ArcadeLabsInc/openagents/issues/1');
expect($response[1]['user']['login'])->toBe('AtlantisPleb');
expect($response[1]['body'])->toContain("Thank you @FaerieAI, that was a good initial answer.");
});
})->group('integration');


test('can respond to github issue as faerie', function () {
Expand Down

0 comments on commit d4e9a00

Please sign in to comment.