<commit_before><?php

use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;

class ExampleTest extends TestCase
{
    /**
     * A basic functional test example.
     *
     * @return void
     */
    public function testBasicExample()
    {
        $this->visit('/')->see('BoilerMake');
        $this->visit('/v1/ping')->see('pong');
    }
}<commit_msg>test case for interest signup<commit_after><?php

use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;

class ExampleTest extends TestCase
{
    /**
     * A basic functional test example.
     *
     * @return void
     */
    public function testBasicExample()
    {
        $this->visit('/')->see('BoilerMake');
        $this->visit('/v1/ping')->see('pong');
    }
    public function testInterestSignup()
    {
        $faker = Faker\Factory::create();
        $email = $faker->email;
        $this->post('/v1/interest/signup', ['email' => $email])
            ->see('ok');
        $this->seeInDatabase('interest_signups', ['email' => $email]);
    }
}
{'fraction_non_alphanumeric': 0.15215622457282343, 'fraction_numerical': 0.0024410089503661514, 'mean_word_length': 3.1414141414141414, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2320337', 'n_tokens_mistral': 350, 'n_tokens_neox': 363, 'n_words': 64}