Skip to content

Database connection necessary? #1

Description

@heiderich

standalonePGproblemRenderer.pl seems to depend on a webwork database. It seems however that the only places where the database connection

our $db = WeBWorK::DB->new($dbLayout);

is actually used are:

my $user = $input->{user} || fake_user($db);

my $set = $input->{'this_set'} || fake_set($db);

my $problem = fake_problem($db, 'problem_seed'=>$problem_seed);

Can these fake objects be generated without a database? I hope so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions