Skip to content

Cannot run a test case that tries to set a blob value #261

Description

@abstratt

Cannot run a test case that tries to set a blob value (in this case, the Expense tests).

    operation receiptProvided();
    begin
        var expense : Expense;
        begin
            expense := Tests#declare(500.0);
            Assert#isTrue(expense.receiptRequired);
        end;
        begin
            expense.receipt := new Picture;
            Assert#isTrue(not expense.receiptRequired);
            expense.submit();
        end;
    end; 

Will result in:

✘ expenses_tests::Tests.receiptProvided
Cause: com.abstratt.kirra.KirraException: Unknown namespace: mdd_media

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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